Kartik K. Agaram
3422d92a00
bugfix: 'escape' to cancel a stroke
...
This has been broken since commit b544e8c357
on May 17 :/
I'm just undoing that commit, which turns out to be completely
unnecessary. And adding a test.
2022-07-05 11:06:55 -07:00
Kartik K. Agaram
429a42eb1c
right margin
2022-06-30 22:54:34 -07:00
Kartik K. Agaram
8c7bea8f76
rip out notion of Line_width
2022-06-30 19:50:27 -07:00
Kartik K. Agaram
515dad95f9
keep drawings within the line width slider as well
2022-06-22 21:08:17 -07:00
Kartik K. Agaram
26995dd62e
correct commit f3abc2cbf2
...
I can't be trusted to do anything without a test.
This should fix #5 . Please reopen if it doesn't.
2022-06-17 22:53:05 -07:00
Kartik K. Agaram
856c51212a
autosave slightly less aggressively
...
It might reduce wear and tear on disk, and losing 3 seconds of data
doesn't feel catastrophic (short of a C-z rampage).
Thanks to the love2d.org community for the suggestion:
https://love2d.org/forums/viewtopic.php?f=14&t=93173
2022-06-17 15:43:31 -07:00
Kartik K. Agaram
d77bcd8f8c
stop recording points for arcs
...
It was kinda weird that we were recording the start but not the end.
And moving the start point didn't actually affect the arc.
Let's see if we actually ever need it.
2022-06-15 09:57:49 -07:00
Kartik K. Agaram
21bd8281a7
all pending manual tests done!
2022-06-14 22:47:49 -07:00
Kartik K. Agaram
b8d7774138
test: undo moving point
2022-06-14 22:43:59 -07:00
Kartik K. Agaram
1aa2590236
test: undo naming a point
...
Also ensure we autosave.
2022-06-14 22:39:05 -07:00
Kartik K. Agaram
ab6eff4f2f
test: autosave after name/move/delete of point
2022-06-14 22:17:42 -07:00
Kartik K. Agaram
15acc38da9
test: autosave after any shape
2022-06-14 22:06:08 -07:00
Kartik K. Agaram
d077ce7f42
tests: deleting points/shapes
2022-06-14 21:23:39 -07:00
Kartik K. Agaram
93a9dfd364
test: moving a point
...
I found some code in the process that seems unreachable. Some chance of
a regression here..
2022-06-14 21:08:07 -07:00
Kartik K. Agaram
4f9789db41
test: naming a point
2022-06-14 21:07:04 -07:00
Kartik K. Agaram
2b4e14189b
tests for drawing polygons
2022-06-14 14:59:09 -07:00
Kartik K. Agaram
6894acc2bb
more drawing tests
2022-06-14 11:19:38 -07:00
Kartik K. Agaram
dc3b18eb6c
start writing some tests for drawings
2022-06-14 10:50:14 -07:00