fix issue with clone layer

This commit is contained in:
JFH
2021-09-20 09:08:56 +02:00
parent 627092f264
commit 91e61503b6
3 changed files with 1 additions and 18 deletions

View File

@@ -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;
}