diff --git a/lib/minimap-quick-settings-element.js b/lib/minimap-quick-settings-element.js index 155aa8b8..03ef73c7 100644 --- a/lib/minimap-quick-settings-element.js +++ b/lib/minimap-quick-settings-element.js @@ -11,7 +11,7 @@ import include from './decorators/include' * @access private */ @element('minimap-quick-settings') -@include(EventsDelegation, SpacePenDSL) +@include(EventsDelegation, SpacePenDSL.Babel) export default class MinimapQuickSettingsElement { static content () { @@ -29,6 +29,10 @@ export default class MinimapQuickSettingsElement { }) } + createdCallback () { + this.buildContent() + } + setModel (minimap) { this.selectedItem = null this.minimap = minimap