From 3bbc9c2f9b8234c0262425b2187809c7e1458c4f Mon Sep 17 00:00:00 2001 From: robonetphy <1998patelumang@gmail.com> Date: Wed, 15 Feb 2023 23:36:16 +0530 Subject: [PATCH] remove unsed events --- src/components/modules/toolbar/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/modules/toolbar/index.ts b/src/components/modules/toolbar/index.ts index a0ec7a1e..a4e58a11 100644 --- a/src/components/modules/toolbar/index.ts +++ b/src/components/modules/toolbar/index.ts @@ -459,7 +459,7 @@ export default class Toolbar extends Module { * * dargstart is used to select the current block/s and hide the tooltip for dragging. */ - this.readOnlyMutableListeners.on(this.nodes.settingsToggler, 'dragstart', (event: DragEvent) => { + this.readOnlyMutableListeners.on(this.nodes.settingsToggler, 'dragstart', () => { this.Editor.BlockManager.currentBlock = this.hoveredBlock; this.Editor.BlockManager.currentBlock.selected = true; @@ -471,7 +471,7 @@ export default class Toolbar extends Module { * * dargend is used to move the select block toolbar setting to dropped position. */ - this.readOnlyMutableListeners.on(this.nodes.settingsToggler, 'dragend', (event: DragEvent) => { + this.readOnlyMutableListeners.on(this.nodes.settingsToggler, 'dragend', () => { this.moveAndOpen(this.Editor.BlockManager.currentBlock); }, true);