refactor(editor): edgeless element toolbar with new pattern (#10511)

This commit is contained in:
fundon
2025-03-18 15:36:25 +00:00
parent 3939cc1c52
commit cb37d25d7b
31 changed files with 838 additions and 367 deletions

View File

@@ -35,7 +35,9 @@ export class EditorToolbar extends WithDisposable(LitElement) {
e.stopPropagation();
e.preventDefault();
});
this._disposables.addFromEvent(this, 'wheel', stopPropagation);
this._disposables.addFromEvent(this, 'wheel', stopPropagation, {
passive: false,
});
}
override render() {