Skip to content

setting controller.aspectRatio to something larger than the original image's, will result miscalculations in collisions for vertical images #89

Description

@ramtinq

Select a vertical image (aspectRatio less than 1), change the aspect ratio to something larger than its original ratio (e.g. 4 / 3), then the image cannot be dragged close to its top or bottom areas (it goes back, resetting the drag action). The bug does not occur, when, for example, you don't set controller.aspectRatio and just scale the image like controller.scale = 2.0. when just scaling or rotating, the image can be dragged to its topmost and lower areas as intended.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions