bugfix: online help
[?]
Jul 22, 2022, 9:29 AM
FNJF2FMQJPQDVLHDZTVMUX5R3LGRKLGSNUPTHUT2WZY3RKVSNRIQCDependencies
- [2]
KTZQ57HVreplace globals with args in a few functions - [3]
NQH7DEEWbugfix: missed rename in one file - [4]
BLWAYPKVextract a module - [5]
VHQCNMARseveral more modules - [6]
UHB4GARJleft/right margin -> left/right coordinates - [7]
C6QTJYA4keep online help inside of drawing - [8]
4KC7I3E2make colors easier to edit - [9]
M6TH7VSZrip out notion of Line_width - [10]
DRFE3B3Zmouse buttons are integers, not strings - [11]
LF7BWEG4group all editor globals - [12]
NUCZBE77bugfix: alignment of help screen - [13]
HOSPP2ANcrisp font rendering - [14]
P4376EXKadd state arg to few functions
Change contents
- replacement in help.lua at line 1
function draw_help_without_mouse_pressed(State, drawing)function draw_help_without_mouse_pressed(State, drawing_index)local drawing = State.lines[drawing_index]local line_cache = State.line_cache[drawing_index] - replacement in help.lua at line 5
local y = drawing.y+10local y = line_cache.starty+10 - replacement in help.lua at line 51
love.graphics.rectangle('fill', State.left,drawing.y, State.width, math.max(Drawing.pixels(drawing.h, State.width),y-drawing.y))love.graphics.rectangle('fill', State.left,line_cache.starty, State.width, math.max(Drawing.pixels(drawing.h, State.width),y-line_cache.starty)) - replacement in help.lua at line 54
function draw_help_with_mouse_pressed(State, drawing)function draw_help_with_mouse_pressed(State, drawing_index)local drawing = State.lines[drawing_index]local line_cache = State.line_cache[drawing_index] - replacement in help.lua at line 58
local y = drawing.y+10local y = line_cache.starty+10 - replacement in help.lua at line 132
love.graphics.rectangle('fill', State.left,drawing.y, State.width, math.max(Drawing.pixels(drawing.h, State.width),y-drawing.y))love.graphics.rectangle('fill', State.left,line_cache.starty, State.width, math.max(Drawing.pixels(drawing.h, State.width),y-line_cache.starty)) - replacement in drawing.lua at line 22
draw_help_with_mouse_pressed(State, line)draw_help_with_mouse_pressed(State, line_index) - replacement in drawing.lua at line 28
draw_help_without_mouse_pressed(State, line)draw_help_without_mouse_pressed(State, line_index)