Skip to content

Commit 6a2fef0

Browse files
committed
chore: Fix compas open
1 parent c3361f1 commit 6a2fef0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/compas-open-scd/src/addons/CompasLayout.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ export class CompasLayout extends LitElement {
264264

265265
connectedCallback(): void {
266266
super.connectedCallback();
267+
this.host.addEventListener('open-drawer', () => {
268+
this.menuUI.open = true;
269+
})
267270
this.host.addEventListener('close-drawer', async () => {
268271
this.menuUI.open = false;
269272
});

0 commit comments

Comments
 (0)