Merge branch 'master' of https://github.com/SVG-Edit/svgedit into issues/631

This commit is contained in:
agriyadev5
2021-09-21 14:17:27 +05:30
30 changed files with 301 additions and 352 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;
}