don't restart drawing after blurred pointerup

This commit is contained in:
Jörn-Michael Miehe 2023-01-17 22:15:12 +00:00
parent 10751cb798
commit cc1ab7be90

View file

@ -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);