@stemy/ngx-utils 19.4.9 → 19.4.10
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.
|
@@ -7111,7 +7111,12 @@ class InteractiveCanvasComponent {
|
|
|
7111
7111
|
}
|
|
7112
7112
|
onPanStart($event) {
|
|
7113
7113
|
this.lockedItem = this.getItemUnderPointer($event?.pointers[0]);
|
|
7114
|
-
this.lockedItem?.onPanStart.emit(
|
|
7114
|
+
this.lockedItem?.onPanStart.emit({
|
|
7115
|
+
pointers: [],
|
|
7116
|
+
deltaX: 0,
|
|
7117
|
+
deltaY: 0,
|
|
7118
|
+
item: this.lockedItem
|
|
7119
|
+
});
|
|
7115
7120
|
this.panFrom = this.pan;
|
|
7116
7121
|
}
|
|
7117
7122
|
onPan($event) {
|
|
@@ -7128,7 +7133,12 @@ class InteractiveCanvasComponent {
|
|
|
7128
7133
|
// this.fixPan();
|
|
7129
7134
|
}
|
|
7130
7135
|
onPanEnd() {
|
|
7131
|
-
this.lockedItem?.onPanEnd.emit(
|
|
7136
|
+
this.lockedItem?.onPanEnd.emit({
|
|
7137
|
+
pointers: [],
|
|
7138
|
+
deltaX: 0,
|
|
7139
|
+
deltaY: 0,
|
|
7140
|
+
item: this.lockedItem
|
|
7141
|
+
});
|
|
7132
7142
|
this.lockedItem = null;
|
|
7133
7143
|
this.panFrom = this.pan;
|
|
7134
7144
|
}
|