mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-12-24 13:33:00 +00:00
don't restart drawing after blurred pointerup
This commit is contained in:
parent
10751cb798
commit
cc1ab7be90
1 changed files with 4 additions and 0 deletions
|
@ -53,6 +53,10 @@ export default class RectPad extends Vue {
|
|||
private rectangles: Rectangle[] = [];
|
||||
|
||||
private on_pointerdown(event: MouseEvent) {
|
||||
if (this.preview_state.visible) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.preview_state.visible = true;
|
||||
this.preview_state.corner1 = get_event_thous(event);
|
||||
this.preview_state.corner2 = get_event_thous(event);
|
||||
|
|
Loading…
Reference in a new issue