@libs-ui/components-image-editor 0.2.263 → 0.2.265
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -561,8 +561,8 @@ class LibsUiComponentsImageEditorComponent {
|
|
|
561
561
|
return { width, height, left, top };
|
|
562
562
|
}
|
|
563
563
|
handlerMouseup() {
|
|
564
|
-
this.imageContainer().nativeElement.classList.remove('cursor-
|
|
565
|
-
this.cropArea().nativeElement.classList.remove('cursor-
|
|
564
|
+
this.imageContainer().nativeElement.classList.remove('cursor-grabbing');
|
|
565
|
+
this.cropArea().nativeElement.classList.remove('cursor-grabbing');
|
|
566
566
|
this.resizeState.set('none');
|
|
567
567
|
this.moveState.set('none');
|
|
568
568
|
}
|
|
@@ -597,13 +597,13 @@ class LibsUiComponentsImageEditorComponent {
|
|
|
597
597
|
const [imageWidth, imageHeight, imageTop, imageLeft] = getStylesOfElement(this.imageOrigin().nativeElement, ['offsetWidth', 'offsetHeight', 'style.top', 'style.left']);
|
|
598
598
|
switch (this.moveState()) {
|
|
599
599
|
case 'image':
|
|
600
|
-
this.imageContainer().nativeElement.classList.add('cursor-
|
|
600
|
+
this.imageContainer().nativeElement.classList.add('cursor-grabbing');
|
|
601
601
|
break;
|
|
602
602
|
case 'clip':
|
|
603
603
|
if (width === imageWidth && height === imageHeight) {
|
|
604
604
|
return;
|
|
605
605
|
}
|
|
606
|
-
this.cropArea().nativeElement.classList.add('cursor-
|
|
606
|
+
this.cropArea().nativeElement.classList.add('cursor-grabbing');
|
|
607
607
|
break;
|
|
608
608
|
default:
|
|
609
609
|
break;
|