UI improvement: more stable scrollbar movement
Dependencies
- [2]
6DJMOJKEsupport event handlers - [3]
RVJNNICYbugfix: autosave settings - [4]
ZM7NOBRMnew fork: carousel shell - [5]
IP4LD33Dmouse events for scrollbar - [6]
Z5M23NTKimplement second, 'output' editor
Change contents
- replacement in 0036-adjust_scrollbar at line 2
local s = (y-state.top) / (state.bottom-state.top)local s = (y-state.scrollbar_offset-state.top) / (state.bottom-state.top) - edit in 0017-on.mouse_release at line 17
Current_pane.editor_state.scrollbar_offset = nil - edit in 0017-on.mouse_release at line 25
Current_pane.output_editor_state.scrollbar_offset = nil - edit in 0016-on.mouse_press at line 26
local sbtop = compute_scrollbar(Current_pane.editor_state)Current_pane.editor_state.scrollbar_offset = y - sbtop - edit in 0016-on.mouse_press at line 35
local sbtop = compute_scrollbar(Current_pane.output_editor_state)Current_pane.output_editor_state.scrollbar_offset = y - sbtop - replacement in 0016-on.mouse_press at line 45
end[4.1606]end