mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
stickers: dragging fixed
This commit is contained in:
parent
6a15d98c04
commit
eba3db420d
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,7 @@ export class Sticker {
|
|||
|
||||
onDragStart = e => {
|
||||
this.preventPropagations(e);
|
||||
this.marker.dragging.disable();
|
||||
|
||||
this.isDragging = true;
|
||||
|
||||
|
@ -101,6 +102,7 @@ export class Sticker {
|
|||
|
||||
onDragStop = e => {
|
||||
this.preventPropagations(e);
|
||||
this.marker.dragging.enable();
|
||||
|
||||
this.triggerOnChange();
|
||||
this.isDragging = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue