bugfix: rectangles and squares are now saved

[?]
May 21, 2022, 3:28 PM
2XLZCWZCOFZGNAPSD7XNCYITKVY5WZW3OD7IXMC7WJQ5SBI7YHNQC

Dependencies

  • [2] SVJZZDC3 snapshot - no, that's all wrong
  • [3] VHQCNMAR several more modules
  • [*] BJ5X5O4A let's prevent the text cursor from ever getting on a drawing

Change contents

  • edit in manual_tests at line 29
    [2.1809]
    persistence:
    draw a line, circle, rectangle, square, polygon, quit, restart. All the shapes you drew should still be visible.
  • replacement in file.lua at line 54
    [3.16742][3.16742:16782]()
    elseif shape.mode == 'polygon' then
    [3.16742]
    [3.16782]
    elseif shape.mode == 'polygon' or shape.mode == 'rectangle' or shape.mode == 'square' then
  • edit in file.lua at line 60
    [3.17060]
    [3.17060]
    else
    print(shape.mode)
    assert(false)
  • replacement in file.lua at line 77
    [3.17539][3.17539:17579]()
    elseif shape.mode == 'polygon' then
    [3.17539]
    [3.17579]
    elseif shape.mode == 'polygon' or shape.mode == 'rectangle' or shape.mode == 'square' then
  • edit in file.lua at line 88
    [3.18168]
    [3.18168]
    else
    print(shape.mode)
    assert(false)