Prevent CropRect Translation in Image Cropper
mans17312 opened this issue · comments
Description:
Currently, the image cropper allows the CropRect to translate, which can result in unintended changes to the selected area. However, in some cases, users may require a fixed aspect ratio without allowing the CropRect to translate.
Problem:
- The CropRect can translate freely, causing the selected area to change size or position unintentionally.
- While setFixedAspectRatio exists, it does not prevent the CropRect from translating.
Desired Solution:
- Disable the translation of the CropRect while maintaining a fixed aspect ratio.
- Even if the user attempts to translate the CropRect, it should remain fixed in size and aspect ratio.
- Provide a way to enable/disable this feature programmatically or through configuration options.