Skip to content

onMatrixChanged() flawed? #171

Description

@deakjahn

It calls getDisplayRect() to calculate the display rectangle which in turn uses the drawable intrinsic dimensions. This seems flawed to me. When I try, for instance, with a 700 pixel wide image, I get displayRect.right values well above 1,000 which is clearly wrong. I'll report back with some suggestions shortly but at first sight, the most obvious change would be to map the currently visible rectangle instead of the whole drawable to start with.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions