fix issue with clone layer
This commit is contained in:
@@ -11,7 +11,7 @@ class LayersPanel {
|
||||
* @param {PlainObject} editor
|
||||
*/
|
||||
constructor(editor) {
|
||||
this.updateContextPanel = editor.topPanel.updateContextPanel;
|
||||
this.updateContextPanel = editor.topPanel.updateContextPanel.bind(editor.topPanel);
|
||||
this.editor = editor;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user