mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
refactor(editor): edgeless element toolbar with new pattern (#10511)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user