mirror of
https://github.com/urbit/shrub.git
synced 2024-12-11 23:48:22 +03:00
updates drum input scroller to be sticky
This commit is contained in:
parent
74f32a67dd
commit
5c07bbd93e
@ -412,7 +412,11 @@
|
||||
^+ +>
|
||||
=/ pol (lent-char:klr pom)
|
||||
=/ end (sub edg pol)
|
||||
=. off ?:((lte p.lin end) 0 (sub p.lin end))
|
||||
=. off ?: (gth p.lin (add end off))
|
||||
(sub p.lin end)
|
||||
?: (lth p.lin off)
|
||||
(min p.lin (dec off))
|
||||
off
|
||||
%+ se-show
|
||||
(sub (add pol p.lin) off)
|
||||
(welp pom [*stye (swag [off end] q.lin)]~)
|
||||
|
Loading…
Reference in New Issue
Block a user