stop recording points for arcs

[?]
Jun 15, 2022, 4:57 PM
WIPDCP4UL22KMTX4P54WLTBFJU442DUXPMC36V6QDMXJY5ZYXPIQC

Dependencies

  • [2] LAW2O3NW extract variable Margin_left
  • [3] OWK3U6VD tests for drawing polygons
  • [4] CRYGI3LR more drawing tests
  • [5] DRFE3B3Z mouse buttons are integers, not strings
  • [6] WSXSEZQ2 switch circles to 'o' to avoid conflicting with copy
  • [7] JFFUF5AL override mouse state lookups in tests
  • [8] XNFTJHC4 split keyboard handling between Text and Drawing
  • [*] K2X6G75Z start writing some tests for drawings
  • [*] BLWAYPKV extract a module

Change contents

  • replacement in drawing_tests.lua at line 179
    [3.619][3.619:679]()
    check_eq(#drawing.points, 2, 'F - test_draw_arc/#points')
    [3.619]
    [4.6918]
    check_eq(#drawing.points, 1, 'F - test_draw_arc/#points')
  • edit in drawing.lua at line 432
    [4.3451][4.7356:7414](),[2.5076][4.7356:7414](),[4.7356][4.7356:7414]()
    local j = Drawing.insert_point(drawing.points, mx,my)