extract a function
Dependencies
- [2]
XG6DGBFEhoist a temporary inside a function - [3]
RK2ASPN7add lots of buttons to the toolbar - [4]
W3RRTO4Pextract a second helper for buttons - [5]
JV27LDDKsliders for font size and color settings - [6]
5JMR2IJSbugfix: save settings on mobile devices - [*]
R5QXEHUIsomebody stop me
Change contents
- file addition: 0142-right_justified_button[8.2]
right_justified_button = function(name, x, y, callback)local w = App.width('settings')local x = x-5-w-5styled_button('settings', x, y, callback)return xend - replacement in 0072-settings_button at line 2
local w = App.width('settings')local x = x-5-w-5styled_button('settings', x, Menu_top+5,return right_justified_button('settings', x, Menu_top+5, - edit in 0072-settings_button at line 11
return x