feat(ui): a scrollbar held where it was taken, a popover that keeps the mouse, easing that lands
- the scrollbar is .ui-scrollbar with a .ui-thumb, styled by the default sheet or a theme; a press on the thumb holds it at the point it was taken and the pointer moves it in proportion, a press on the track jumps the thumb's middle there and holds it, and neither presses what is under the bar (it used to centre the thumb on the pointer and press the row beneath as well); - while a popover is up only scroll boxes inside it take the pointer, and a press outside it that closes it forgets any press in progress; - a transition ends exactly on its value (it stopped a rounding error short, at every frame rate). Tests: ui_popover_mouse, ui_scrollbar, ui_ease (60/120/180/240 Hz). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
9f59000f5b
commit
a4c7a756f0
19 changed files with 299 additions and 29 deletions
|
|
@ -23,6 +23,7 @@ import "controls_number.ludic"
|
|||
import "input.ludic"
|
||||
import "focus.ludic"
|
||||
import "scroll.ludic"
|
||||
import "scroll_bar.ludic"
|
||||
import "popover.ludic"
|
||||
import "popover_anchor.ludic"
|
||||
import "tooltip.ludic"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue