cstefanache / angular2-img-cropper

Angular 2 Image Cropper
MIT License
364 stars 135 forks source link

Not able to move the selection area to the left/right side of the marker for rounded/free respectively #115

Open rkraaz opened 7 years ago

rkraaz commented 7 years ago

Thanks a lot for contributing such a wonderful module. I have seen a couple of bugs though

  1. When cropping the image and moving the current selection, I am not able to move the selection area by clicking to the left of the marker for rounded and clicking on the right side of the marker for non-rounded respectively. Limiting the user to move the selection on one particular side is not the best user experience.

  2. Size of the marker icon can be made configurable as like strokeColor/strokeWidth or be made relative to the canvas area. It poses a problem when the canvas area is small, making it impossible to see the background.

  3. Lot of users tend to use the marker icon to move the selection. Since the selection is not working that way, users tend to ward off since the experience is not good.

Your help is highly required for fixing the above issues.

cstefanache commented 7 years ago

Not sure if I understand the requirements

  1. the corner markers are used to expand/contract the selected area thus allowing you to "move" the selection. On rounded there are 4 markers

  2. do you require a setting to setup the size of the marker?

  3. if we are going to use the marker icon (squared corner ones) for moving the selection how are we going to expand/contract the selection?