diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-06-15 09:57:49 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-06-15 09:57:49 -0700 |
commit | d77bcd8f8ceb012d56a6ca977ab1411082694e72 (patch) | |
tree | 413c291cddc53b70d1f49c9de35481d3da2139d6 /drawing_tests.lua | |
parent | 4280b19cacde59beae8edebb08146b16925e758a (diff) | |
download | text.love-d77bcd8f8ceb012d56a6ca977ab1411082694e72.tar.gz |
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.
Diffstat (limited to 'drawing_tests.lua')
-rw-r--r-- | drawing_tests.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drawing_tests.lua b/drawing_tests.lua index 761824d..b8e1953 100644 --- a/drawing_tests.lua +++ b/drawing_tests.lua @@ -176,7 +176,7 @@ function test_draw_arc() App.run_after_mouse_release(Margin_left+35+50, Margin_top+Drawing_padding_top+36+50, 1) -- 45° local drawing = Lines[1] check_eq(#drawing.shapes, 1, 'F - test_draw_arc/#shapes') - check_eq(#drawing.points, 2, 'F - test_draw_arc/#points') + check_eq(#drawing.points, 1, 'F - test_draw_arc/#points') check_eq(drawing.shapes[1].mode, 'arc', 'F - test_draw_horizontal_line/shape_mode') local arc = drawing.shapes[1] check_eq(arc.radius, 30, 'F - test_draw_arc/radius') |