bugfix: alignment of help screen

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

Dependencies

  • [2] NQH7DEEW bugfix: missed rename in one file
  • [3] F3OOGMME switch freehand hotkey to eliminate conflict with search
  • [4] BU3LUPY3 bugfix in help
  • [5] WSXSEZQ2 switch circles to 'o' to avoid conflicting with copy
  • [6] GSV7DABC make online help fit within a drawing
  • [7] WTDKUACN rectangle and square shapes
  • [8] VHQCNMAR several more modules
  • [9] 6UZ2JNZE yet another key conflict
  • [10] DXT4QTAH a few more integer coordinates
  • [11] 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][6.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][5.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][7.6042:6125]()
    love.graphics.print("* Press 'ctrl+g' to switch to drawing polygons", 16+30,y)
    [7.8005]
    [7.6125]
    love.graphics.print("* Press 'ctrl+g' to switch to drawing 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 41
    [7.635][7.6260:6342]()
    love.graphics.print("* Press 'ctrl+s' to switch to drawing squares", 16+30,y)
    [7.635]
    [7.6342]
    love.graphics.print("* Press 'ctrl+s' to switch to drawing squares", Margin_left+30,y)
  • replacement in help.lua at line 44
    [7.8121][6.118:221]()
    love.graphics.print("* Press 'ctrl+=' or 'ctrl+-' to zoom in or out, ctrl+0 to reset zoom", 16+30,y)
    [7.8121]
    [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 46
    [7.6579][6.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 49
    [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 55
    [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 57
    [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 60
    [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 63
    [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 67
    [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 69
    [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 71
    [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 75
    [7.9744][7.7419:7512]()
    love.graphics.print('* Release the mouse button to finish drawing the polygon', 16+30,y)
    [7.9744]
    [7.7512]
    love.graphics.print('* Release the mouse button to finish drawing the polygon', Margin_left+30,y)
  • replacement in help.lua at line 77
    [7.7536][7.7536:7615]()
    love.graphics.print("* Press 'p' to add a vertex to the polygon", 16+30,y)
    [7.7536]
    [7.7615]
    love.graphics.print("* Press 'p' to add a vertex to the polygon", Margin_left+30,y)
  • replacement in help.lua at line 80
    [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 84
    [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 88
    [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 92
    [7.10489][5.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 96
    [7.10648][7.8118:8196]()
    love.graphics.print("* Press 'g' to switch to drawing polygons", 16+30,y)
    [7.10648]
    [7.8196]
    love.graphics.print("* Press 'g' to switch to drawing polygons", Margin_left+30,y)
  • replacement in help.lua at line 100
    [7.797][4.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 104
    [7.953][4.93:170]()
    love.graphics.print("* Press 's' to switch to drawing squares", 16+30,y)
    [7.953]
    [7.8403]
    love.graphics.print("* Press 's' to switch to drawing squares", Margin_left+30,y)
  • replacement in help.lua at line 108
    [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))