Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Broken snapping when bitmap is smaller than viewport #2

Closed
eveliotc opened this issue Nov 20, 2015 · 5 comments
Closed

Broken snapping when bitmap is smaller than viewport #2

eveliotc opened this issue Nov 20, 2015 · 5 comments
Labels

Comments

@eveliotc
Copy link
Contributor

No description provided.

@eveliotc eveliotc added the bug label Nov 20, 2015
@rohanmahale
Copy link

@eveliotc Can you please elaborate a little about this issue? I'm not sure what this means.

@eveliotc
Copy link
Contributor Author

@rohanmahale this issue only appears when you are using custom Bitmap loading (not using extensions) if Bitmap is smaller than viewport, touch manager snaps to left or right depending on drag movement, ideally bitmap would be drawn zoomed in to prevent this

@rohanmahale
Copy link

@eveliotc Thanks. Got it!

@rafaelekol
Copy link

have same issue, how we can fix this?

suau added a commit to suau/scissors that referenced this issue Jan 14, 2016
Fixes lyft#2
Fix scaling and snapping issue when bitmap is smaller than viewport and
directly set (without extensions) into the CropView.
tildedave pushed a commit that referenced this issue May 11, 2017
* Added method and attribute for drawing oval overlay

* Setting the viewport Paint to be anti-aliased

* Adding a method to limit cropped image width and height

* Use enum attribute to specify shape of CropView (#2)

* Change isOval attribute to an enum with shape values

* Comments

* Only set anti-alias Paint flag when required

* Revert sample Activity layout

* Comments

* Reverting unneeded changes

* Add entry to CHANGELOG.md

* Updates from CR
@dschaller
Copy link

Thank you for you contribution to this repository.

Closing this contribution as this repository is being archived.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants