mirror of
https://github.com/igorski/bitmappery.git
synced 2026-07-26 00:37:43 +02:00
Always update Document reference in interaction pane as its enabled state can be forced by viewport pan shortcut
This commit is contained in:
@@ -57,6 +57,7 @@ class InteractionPane extends sprite {
|
||||
setState( enabled, document, mode, activeTool ) {
|
||||
this._enabled = enabled;
|
||||
this.setDraggable( enabled );
|
||||
this.document = document;
|
||||
|
||||
const zCanvas = getCanvasInstance();
|
||||
|
||||
@@ -69,8 +70,7 @@ class InteractionPane extends sprite {
|
||||
}
|
||||
return;
|
||||
}
|
||||
this.document = document;
|
||||
this.mode = mode;
|
||||
this.mode = mode;
|
||||
|
||||
this.setBounds(
|
||||
0, 0,
|
||||
|
||||
Reference in New Issue
Block a user