round one coordinate

[?]
Jul 30, 2022, 2:13 PM
QJB4UHNV45ASBOVBUH4JDMFZVMGS7LTKSQHICRD77SRZMLFVKNTAC

Dependencies

  • [2] XNFTJHC4 split keyboard handling between Text and Drawing
  • [3] LF7BWEG4 group all editor globals
  • [4] 23MA4T3G add state arg to Drawing.keychord_pressed
  • [5] 3OTESDW6 move drawing.starty into line cache
  • [6] UHB4GARJ left/right margin -> left/right coordinates
  • [7] WSXSEZQ2 switch circles to 'o' to avoid conflicting with copy
  • [8] JFFUF5AL override mouse state lookups in tests
  • [9] P5QNVXSN drop final mention of state global beyond main.lua
  • [10] DRFE3B3Z mouse buttons are integers, not strings
  • [*] BLWAYPKV extract a module

Change contents

  • replacement in drawing.lua at line 495
    [2.7472][2.7472:7537]()
    drawing.pending.radius = geom.dist(center.x,center.y, mx,my)
    [2.7472]
    [2.7537]
    drawing.pending.radius = round(geom.dist(center.x,center.y, mx,my))