activate buttons for some time
Dependencies
- [2]
HVXZLNCCsend errors from event handlers to output editor - [3]
W3RRTO4Pextract a second helper for buttons - [4]
IP4LD33Dmouse events for scrollbar - [5]
VAVXKWZVaggregate global state inside a 'pane' object - [6]
6DJMOJKEsupport event handlers - [7]
Z5M23NTKimplement second, 'output' editor - [*]
R5QXEHUIsomebody stop me - [*]
ZM7NOBRMnew fork: carousel shell - [*]
UEG224LHdebug animations - [*]
JV27LDDKsliders for font size and color settings
Change contents
- file addition: 0148-Active_button[9.2]
Active_button = nil-- When a button is pressed:-- {name=..., expire=...} - file addition: 0147-Highlighted_button_color[9.2]
Highlighted_button_color = {r=1, g=1, b=1} - replacement in 0124-styled_button at line 5
App.color(Normal_color)if Active_button and Active_button.name == name and Active_button.expire > Current_time thenApp.color(Highlighted_button_color)elseApp.color(Normal_color)end - replacement in 0124-styled_button at line 13
onpress1 = onpress1,onpress1 = function()onpress1()Active_button = {name=name,expire=Current_time+0.1,}end, - replacement in 0124-styled_button at line 21
end[3.346]end - edit in 0016-on.mouse_press at line 2
-- some hysteresis right after a button has been pressedif Active_button then return end - edit in 0004-on.update at line 3[11.1760][12.6183]
if Active_button and Active_button.expire <= Current_time thenActive_button = nilend - replacement in 0004-on.update at line 15
end[2.1949]end