diff --git a/css/setup.css b/css/setup.css index c1e35738..7a532dca 100644 --- a/css/setup.css +++ b/css/setup.css @@ -123,7 +123,7 @@ font-family: 'Material Icons'; font-style: normal; font-weight: 400; - src: url(../font/material-icons.woff2) format('woff'); + src: url(../font/material-icons.woff2?4) format('woff'); } @font-face { font-family: 'icomoon'; diff --git a/font/material-icons.woff2 b/font/material-icons.woff2 index 62735351..c57cdcff 100644 Binary files a/font/material-icons.woff2 and b/font/material-icons.woff2 differ diff --git a/js/outliner/outliner.js b/js/outliner/outliner.js index cf82daf8..9622f4ea 100644 --- a/js/outliner/outliner.js +++ b/js/outliner/outliner.js @@ -125,6 +125,9 @@ export class OutlinerNode { get preview_controller() { return this.constructor.preview_controller; } + getTypeBehavior(flag) { + return OutlinerElement.types[this.type]?.behavior[flag]; + } //Sorting sortInBefore(element, index_mod = 0) { var index = -1; @@ -381,9 +384,6 @@ export class OutlinerElement extends OutlinerNode { Project.elements.remove(this); return this; } - getTypeBehavior(flag) { - return OutlinerElement.types[this.type]?.behavior[flag]; - } showContextMenu(event) { if (this.locked) return this; if (!this.selected) {