Fix for robustness when navigating quickly through automations. dragOffset can sometimes not be initialised before moving the mouse
This commit is contained in:
parent
472830c052
commit
81d01bc0cf
|
@ -222,7 +222,7 @@
|
|||
y,
|
||||
}))
|
||||
|
||||
if (down && !$view.dragging) {
|
||||
if (down && !$view.dragging && dragOffset) {
|
||||
contentPos.update(state => ({
|
||||
...state,
|
||||
x: x - dragOffset[0],
|
||||
|
|
Loading…
Reference in New Issue