handle still narrower screens on phones
Dependencies
- [2]
QGSOEM7Zbugfix: 'show' button layout - [3]
GWLETNMWMike's suggested button layout - [4]
FPSPT5TMshow current pane number - [5]
5MEJ7XNHlay out buttons based on device dimensions - [6]
PRE6XPRNresponsively increase/decrease font height - [7]
RK2ASPN7add lots of buttons to the toolbar - [*]
5RUFNRJOstart of the visual skeleton
Change contents
- edit in 0066-copy_button at line 8
elsey = y2 - edit in 0065-hide_code_button at line 8
elsey = y2 - edit in 0064-show_code_button at line 3
local x2, y2 = maybe_draw_overflow_button(x, y, w, r)if Overflow_button then-- overflowif not Show_overflow thenreturn x, yelsey = y2endend - replacement in 0064-show_code_button at line 22
return x+w+10, yif Overflow_button thenreturn x, y+Line_heightelsereturn x+w+10, yend - edit in 0021-draw_menu at line 16[3.4338]→[3.501:533](∅→∅),[3.501]→[3.501:533](∅→∅),[3.533]→[3.4339:4374](∅→∅),[3.4374]→[3.577:605](∅→∅),[3.577]→[3.577:605](∅→∅)
App.color{r=0.5, g=0.5, b=0.5}love.graphics.print('code', x, y)x = x+App.width('code')+10 - edit in 0021-draw_menu at line 17
if not Overflow_button thenlocal w = App.width('code')+10local w2 = App.width('>>')+10if x+w+10+w2+10 < r thenApp.color{r=0.5, g=0.5, b=0.5}love.graphics.print('code', x, y)x = x+w+10endend - replacement in 0021-draw_menu at line 40
x = x+App.width('screen')+10x = x+w+10