This seems to uncover a corner case I'd never run into until now.
BXJMGTV2FMXDI5ML3OATRJ6O35L3T64S4TW4UYM37V3K3DICSC4AC
EHSUSZMKVRSJ5HPJZQCKWFY3BRNLAIBDATSHDQ7AMJZ6SX2I6Z2AC
BXYVMS4A4FLFWTMBI3UHGL6NY6LDAQVBYYQVLWZJ4IMALK6UKPOQC
RT6EV6OPUYCXYZOX2PHFXJ7KT77KHNEVINEGQXIQLHQVKPGTN6VQC
BLWAYPKV3MLDZ4ALXLUJ25AIR6PCIL4RFYNRYLB26GFVC2KQBYBAC
DRFE3B3ZKRG4RY2R5Q3SDFD3LH4EXUX3CZCDFBNAXVI2SLDS57PAC
if drawing.y == nil then return -- first draw? end
if drawing.y == nil then
return -- first draw?
end
local mx = Drawing.coord(pmx-State.left, State.width) local my = Drawing.coord(pmy-drawing.y, State.width)
local mx = Drawing.coord(pmx-State.left, State.width)
local my = Drawing.coord(pmy-drawing.y, State.width)
table.insert(drawing.pending.points, {x=Drawing.coord(pmx-State.left, State.width), y=Drawing.coord(pmy-drawing.y, State.width)})
table.insert(drawing.pending.points, {x=mx, y=my})
local mx,my = Drawing.coord(pmx-State.left, State.width), Drawing.coord(pmy-drawing.y, State.width)