go through App in a couple more places
[?]
May 29, 2022, 11:37 PM
2L4DL7PG5Q3IOZ2NTSULXDTDDA7AHNE43P7GH5TSVG2DZ4XC62NQCDependencies
- [2]
AH744RFRshow when we're naming a point - [3]
AVTNUQYRbasic test-enabled framework - [4]
R53OF3ONone bug I've repeatedly run into while testing with Moby Dick - [5]
6E3HVYWFtest and App helper for mouse clicks - [6]
H22OAXWEcouple of TODOs - [7]
YTSPVDZHfirst successful pagedown test, first bug found by test - [8]
BLWAYPKVextract a module - [*]
3QNOKBFMbeginnings of a test harness
Change contents
- replacement in drawing.lua at line 59
name_text = love.graphics.newText(love.graphics.getFont(), 'm') -- 1emname_text = App.newText(love.graphics.getFont(), 'm') -- 1em - replacement in drawing.lua at line 61
name_text = love.graphics.newText(love.graphics.getFont(), p.name)name_text = App.newText(love.graphics.getFont(), p.name) - replacement in drawing.lua at line 63
love.graphics.rectangle('fill', x,y, math.floor(name_text:getWidth()*Zoom), math.floor(15*Zoom))love.graphics.rectangle('fill', x,y, math.floor(App.width(name_text)*Zoom), math.floor(15*Zoom)) - edit in app.lua at line 164
endfunction App.width(text)return text.text:getWidth() - edit in app.lua at line 197
endfunction App.width(text)return text.text:getWidth()