Merge branch 'master' of https://github.com/SVG-Edit/svgedit into issues/631
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