From bc6180634b818dc01af61a3ce7edbfe8c94f29e3 Mon Sep 17 00:00:00 2001 From: deadlink Date: Wed, 3 Jan 2024 12:22:26 +0700 Subject: [PATCH] Highlighting the line on shift key pressed in paint tool --- src/draw/plugins/paint-highlight.plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/draw/plugins/paint-highlight.plugin.ts b/src/draw/plugins/paint-highlight.plugin.ts index 07d6af61..6e52e1e5 100644 --- a/src/draw/plugins/paint-highlight.plugin.ts +++ b/src/draw/plugins/paint-highlight.plugin.ts @@ -13,7 +13,7 @@ export class PaintHighlightPlugin extends DrawPlugin { (p: AbstractEditorPlugin) => p instanceof PaintPlugin ) as PaintPlugin; } - const {scale, display} = this.session.state; + const {display, scale} = this.session.state; if (point) { if ( event.shiftKey &&