more reasonable minimum area

This commit is contained in:
Jörn-Michael Miehe 2023-01-18 00:04:43 +00:00
parent 6ffc5f076c
commit 8689ba8473

View file

@ -49,7 +49,7 @@ function get_event_thous(event: MouseEvent): Vector2D {
}, },
}) })
export default class RectPad extends Vue { export default class RectPad extends Vue {
private readonly min_rect_area = 4; private readonly min_rect_area = 300;
private drawing = false; private drawing = false;
private preview_corner1 = new Vector2D(); private preview_corner1 = new Vector2D();
private preview_corner2 = new Vector2D(); private preview_corner2 = new Vector2D();