Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Image moving speed definition #604

Open
PatrikHorvatic opened this issue Dec 4, 2023 · 1 comment
Open

Feature request: Image moving speed definition #604

PatrikHorvatic opened this issue Dec 4, 2023 · 1 comment
Labels

Comments

@PatrikHorvatic
Copy link

Hello,

it would be cool if cropper had an input that defines movement speed of image. My configuration is currently without 'transform' 2 way binding.
If we move only the image to crop it and disable the cropper circle/square, image mover very 'chaoticaly' and too fast.

For example:
We have input imageMovementSpeed:
@Input() imageMovementSpeed: number = 1
There is handleMouseMove function which would take into account imageMovementSpeed and use that value to move the image.


Practical example for mobile devices and apps:

  • Without imageMovementSpeed input: image moved with finger 100px left: move image 100px left
  • With imageMovementSpeed input: image moved with finger 100px left: move image 75px left
    That way, users get more precision with image cropping
Copy link

stale bot commented Mar 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant