bugfix: alignment of help screen

[?]
Jun 15, 2022, 8:28 PM
SGMDI4TCL375Y5ADXK6KDMWADDRXHZMCJ42PBMMW3RLMNDABEPUQC

Dependencies

  • [2] NQH7DEEW bugfix: missed rename in one file
  • [3] F3OOGMME switch freehand hotkey to eliminate conflict with search
  • [4] WSXSEZQ2 switch circles to 'o' to avoid conflicting with copy
  • [5] GSV7DABC make online help fit within a drawing
  • [6] OLZRJ4AX experiment: use digits to draw regular polygons
  • [7] 6UZ2JNZE yet another key conflict
  • [8] BU3LUPY3 bugfix in help
  • [9] WTDKUACN rectangle and square shapes
  • [10] DXT4QTAH a few more integer coordinates
  • [11] VHQCNMAR several more modules
  • [12] HOSPP2AN crisp font rendering

Change contents

  • replacement in help.lua at line 4
    [7.6732][7.4821:4874]()
    love.graphics.print("Things you can do:", 16+30,y)
    [7.6732]
    [7.4874]
    love.graphics.print("Things you can do:", Margin_left+30,y)
  • replacement in help.lua at line 6
    [7.4896][7.4896:4992]()
    love.graphics.print("* Press the mouse button to start drawing a "..current_shape(), 16+30,y)
    [7.4896]
    [7.4992]
    love.graphics.print("* Press the mouse button to start drawing a "..current_shape(), Margin_left+30,y)
  • replacement in help.lua at line 8
    [7.5014][7.12:119]()
    love.graphics.print("* Hover on a point and press 'ctrl+u' to pick it up and start moving it,", 16+30,y)
    [7.5014]
    [7.5106]
    love.graphics.print("* Hover on a point and press 'ctrl+u' to pick it up and start moving it,", Margin_left+30,y)
  • replacement in help.lua at line 10
    [7.5128][7.120:209]()
    love.graphics.print("then press the mouse button to drop it", 16+30+bullet_indent(),y)
    [7.5128]
    [7.5322]
    love.graphics.print("then press the mouse button to drop it", Margin_left+30+bullet_indent(),y)
  • replacement in help.lua at line 12
    [7.5344][5.12:117]()
    love.graphics.print("* Hover on a point and press 'ctrl+n', type a name, then press 'enter'", 16+30,y)
    [7.5344]
    [7.5423]
    love.graphics.print("* Hover on a point and press 'ctrl+n', type a name, then press 'enter'", Margin_left+30,y)
  • replacement in help.lua at line 14
    [7.5445][7.5445:5539]()
    love.graphics.print("* Hover on a point or shape and press 'ctrl+d' to delete it", 16+30,y)
    [7.5445]
    [7.5539]
    love.graphics.print("* Hover on a point or shape and press 'ctrl+d' to delete it", Margin_left+30,y)
  • replacement in help.lua at line 17
    [7.7341][3.9:100]()
    love.graphics.print("* Press 'ctrl+p' to switch to drawing freehand strokes", 16+30,y)
    [7.7341]
    [7.5675]
    love.graphics.print("* Press 'ctrl+p' to switch to drawing freehand strokes", Margin_left+30,y)
  • replacement in help.lua at line 21
    [7.7506][7.5700:5780]()
    love.graphics.print("* Press 'ctrl+l' to switch to drawing lines", 16+30,y)
    [7.7506]
    [7.5780]
    love.graphics.print("* Press 'ctrl+l' to switch to drawing lines", Margin_left+30,y)
  • replacement in help.lua at line 25
    [7.7665][7.5805:5905]()
    love.graphics.print("* Press 'ctrl+m' to switch to drawing horizontal/vertical lines", 16+30,y)
    [7.7665]
    [7.5905]
    love.graphics.print("* Press 'ctrl+m' to switch to drawing horizontal/vertical lines", Margin_left+30,y)
  • replacement in help.lua at line 29
    [7.7841][4.12:99]()
    love.graphics.print("* Press 'ctrl+o' to switch to drawing circles/arcs", 16+30,y)
    [7.7841]
    [7.6017]
    love.graphics.print("* Press 'ctrl+o' to switch to drawing circles/arcs", Margin_left+30,y)
  • replacement in help.lua at line 33
    [7.8005][6.11:108]()
    love.graphics.print("* Press 'ctrl+<digit>' to switch to drawing regular polygons", 16+30,y)
    [7.8005]
    [7.6125]
    love.graphics.print("* Press 'ctrl+<digit>' to switch to drawing regular polygons", Margin_left+30,y)
  • replacement in help.lua at line 37
    [7.474][7.6150:6235]()
    love.graphics.print("* Press 'ctrl+r' to switch to drawing rectangles", 16+30,y)
    [7.474]
    [7.6235]
    love.graphics.print("* Press 'ctrl+r' to switch to drawing rectangles", Margin_left+30,y)
  • replacement in help.lua at line 40
    [7.8121][5.118:221]()
    love.graphics.print("* Press 'ctrl+=' or 'ctrl+-' to zoom in or out, ctrl+0 to reset zoom", 16+30,y)
    [7.592]
    [7.6557]
    love.graphics.print("* Press 'ctrl+=' or 'ctrl+-' to zoom in or out, ctrl+0 to reset zoom", Margin_left+30,y)
  • replacement in help.lua at line 42
    [7.6579][5.222:293]()
    love.graphics.print("Press 'esc' now to hide this message", 16+30,y)
    [7.6579]
    [7.6648]
    love.graphics.print("Press 'esc' now to hide this message", Margin_left+30,y)
  • replacement in help.lua at line 45
    [7.8466][2.7:116]()
    love.graphics.rectangle('fill', 16,drawing.y, Line_width, math.max(Drawing.pixels(drawing.h),y-drawing.y))
    [7.8466]
    [7.8578]
    love.graphics.rectangle('fill', Margin_left,drawing.y, Line_width, math.max(Drawing.pixels(drawing.h),y-drawing.y))
  • replacement in help.lua at line 51
    [7.8689][7.6671:6765]()
    love.graphics.print("You're currently drawing a "..current_shape(drawing.pending), 16+30,y)
    [7.8689]
    [7.6765]
    love.graphics.print("You're currently drawing a "..current_shape(drawing.pending), Margin_left+30,y)
  • replacement in help.lua at line 53
    [7.6787][7.6787:6844]()
    love.graphics.print('Things you can do now:', 16+30,y)
    [7.6787]
    [7.6844]
    love.graphics.print('Things you can do now:', Margin_left+30,y)
  • replacement in help.lua at line 56
    [7.8935][7.6867:6959]()
    love.graphics.print('* Release the mouse button to finish drawing the stroke', 16+30,y)
    [7.8935]
    [7.6959]
    love.graphics.print('* Release the mouse button to finish drawing the stroke', Margin_left+30,y)
  • replacement in help.lua at line 59
    [7.9138][7.6984:7074]()
    love.graphics.print('* Release the mouse button to finish drawing the line', 16+30,y)
    [7.9138]
    [7.7074]
    love.graphics.print('* Release the mouse button to finish drawing the line', Margin_left+30,y)
  • replacement in help.lua at line 63
    [7.9347][7.7099:7193]()
    love.graphics.print('* Release the mouse button to finish drawing the circle', 16+30,y)
    [7.9347]
    [7.7193]
    love.graphics.print('* Release the mouse button to finish drawing the circle', Margin_left+30,y)
  • replacement in help.lua at line 65
    [7.7219][7.7219:7301]()
    love.graphics.print("* Press 'a' to draw just an arc of a circle", 16+30,y)
    [7.7219]
    [7.9561]
    love.graphics.print("* Press 'a' to draw just an arc of a circle", Margin_left+30,y)
  • replacement in help.lua at line 67
    [7.9570][7.7302:7393]()
    love.graphics.print('* Release the mouse button to finish drawing the arc', 16+30,y)
    [7.9570]
    [7.9670]
    love.graphics.print('* Release the mouse button to finish drawing the arc', Margin_left+30,y)
  • replacement in help.lua at line 71
    [7.9744][6.109:210]()
    love.graphics.print('* Release the mouse button to finish drawing the regular polygon', 16+30,y)
    [7.9744]
    [7.7615]
    love.graphics.print('* Release the mouse button to finish drawing the regular polygon', Margin_left+30,y)
  • replacement in help.lua at line 74
    [7.9976][7.7640:7746]()
    love.graphics.print("* Press 'esc' then release the mouse button to cancel the current shape", 16+30,y)
    [7.9976]
    [7.7746]
    love.graphics.print("* Press 'esc' then release the mouse button to cancel the current shape", Margin_left+30,y)
  • replacement in help.lua at line 78
    [7.10164][7.7791:7866]()
    love.graphics.print("* Press 'l' to switch to drawing lines", 16+30,y)
    [7.10164]
    [7.7866]
    love.graphics.print("* Press 'l' to switch to drawing lines", Margin_left+30,y)
  • replacement in help.lua at line 82
    [7.10318][7.7891:7986]()
    love.graphics.print("* Press 'm' to switch to drawing horizontal/vertical lines", 16+30,y)
    [7.10318]
    [7.7986]
    love.graphics.print("* Press 'm' to switch to drawing horizontal/vertical lines", Margin_left+30,y)
  • replacement in help.lua at line 86
    [7.10489][4.100:182]()
    love.graphics.print("* Press 'o' to switch to drawing circles/arcs", 16+30,y)
    [7.10489]
    [7.8093]
    love.graphics.print("* Press 'o' to switch to drawing circles/arcs", Margin_left+30,y)
  • replacement in help.lua at line 90
    [7.797][7.12:92]()
    love.graphics.print("* Press 'r' to switch to drawing rectangles", 16+30,y)
    [7.797]
    [7.8301]
    love.graphics.print("* Press 'r' to switch to drawing rectangles", Margin_left+30,y)
  • replacement in help.lua at line 94
    [7.10798][2.117:226]()
    love.graphics.rectangle('fill', 16,drawing.y, Line_width, math.max(Drawing.pixels(drawing.h),y-drawing.y))
    [7.10798]
    [7.10910]
    love.graphics.rectangle('fill', Margin_left,drawing.y, Line_width, math.max(Drawing.pixels(drawing.h),y-drawing.y))