Commit graph

20 commits

Author SHA1 Message Date
4f60e906d7
fix: integer overflow in scrollbar_v 2025-12-17 19:49:09 +01:00
8dbc5765d9
fix: clamp scrollbar hitbox at end of document 2025-12-17 18:24:04 +01:00
8745cd05d2
feat: improve scrollbar behavior
Clicking and dragging inside the scrollbar grip will now preserve the mouse click offset
and not jump to the center position on click.

Clicking outside the scrollbar grip will now jump as though the center of the grip was
dragged to the click position.

This is more inline with typical GUI scrollbar behaviors.
2025-12-17 14:34:50 +01:00
9bebebc086
feat: add scrollbar_auto_hide config option 2025-11-19 18:26:23 +01:00
1fb3a8828a
fix: be more precise about tracking active state in scrollbar_v widget 2025-11-03 20:47:18 +01:00
efdad96054
refactor: improve create pattern to avoid leaks 2025-07-19 00:03:30 +02:00
4145460012
refactor: simplify Plane/Widget usage 2025-01-23 16:12:56 +01:00
18f321bf41
refactor: move input types to new module and use directly use libvaxis types 2024-11-15 21:16:31 +01:00
cfb9f8cf11
refactor: remove unused parameter in set_base_style 2024-11-04 22:20:06 +01:00
7115d3eddc
fix: scrollbar active state should not depend on hover 2024-10-31 13:53:46 +01:00
16c5471126
refactor: move command and EventHandler out of the tui module 2024-10-25 22:39:04 +02:00
bf3fe5f2ba
refactor: run zigimports
closes: #38
2024-09-10 22:25:54 +02:00
7b812d73ea
refactor: change a -> allocator 2024-09-02 14:31:49 +02:00
f8213a8a85 feat(scrollbar): add support for changing scrollbar styles 2024-08-11 21:31:31 +02:00
e7c8fea3f0 feat: add scrollbar to command palette 2024-06-21 01:20:17 +02:00
78e1951407 refactor(scrollbar): make scrollbar event source optional 2024-06-20 22:27:35 +02:00
1cd3cb17ce feat: add libvaxis renderer 2024-05-10 12:44:14 +02:00
b15fa47f30 refactor: add renderer abstraction layer 2024-05-09 11:48:33 +02:00
5ca96aa328 fix: process drag release events in scrollbar_v 2024-04-25 18:50:06 +02:00
4ece4babad Initial public release 2024-02-29 00:00:15 +01:00