Skip to content

Commit

Permalink
Highlighting the line on shift key pressed in paint tool
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlink authored and sbrin committed Feb 7, 2024
1 parent 6f41e99 commit bc61806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/draw/plugins/paint-highlight.plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit bc61806

Please sign in to comment.