hoist a temporary inside a function
Dependencies
- [2]
W3RRTO4Pextract a second helper for buttons - [3]
5RUFNRJOstart of the visual skeleton - [4]
RK2ASPN7add lots of buttons to the toolbar - [5]
JV27LDDKsliders for font size and color settings - [6]
5MEJ7XNHlay out buttons based on device dimensions - [7]
5JMR2IJSbugfix: save settings on mobile devices - [8]
YS4AQXJChide other menus when opening one
Change contents
- replacement in 0072-settings_button at line 1
settings_button = function(x, w)settings_button = function(x)local w = App.width('settings')local x = x-5-w-5 - replacement in 0072-settings_button at line 13
return x+w+10return x - replacement in 0021-draw_menu at line 5
local w = App.width('settings')local r = Safe_width-w-10-5settings_button(r, w)local r = settings_button(Safe_width-5)