gpui-component/crates/ui
Jason Lee 2836540260
scrollbar: Improve scrollbar behaviour. (#481)
- Only show scroll when recent scrolled.
- Keep showing scrollbar when is visible and hovered on.
- Delay 3s to fade out.
- If not visible, do not handle mouse down event.
- Add `cx.theme().scrollbar_show` option to control scrollbar show
`[Hover, Scrolling]`, default: `Scrolling`.

Close #472

![CleanShot 2024-12-10 at 15 43
43](https://github.com/user-attachments/assets/17e5f46a-5602-4544-9a5c-82ec68a24dd4)
2024-12-10 16:18:38 +08:00
..
assets/fonts svg_img: Embed the font file (#401) 2024-11-08 15:45:00 +08:00
locales dock: Add left, bottom, right fixed dock and support toggle. (#291) 2024-10-02 17:42:52 +08:00
src scrollbar: Improve scrollbar behaviour. (#481) 2024-12-10 16:18:38 +08:00
tests/fixtures dock: Add to support save left, right, bottom dock state. (#303) 2024-10-03 17:25:31 +08:00
Cargo.toml build(deps): bump wry from 0.47.0 to 0.47.2 (#434) 2024-11-26 13:29:03 +08:00
default-colors.json Add Skeleton (#128) 2024-08-09 15:55:48 +08:00
LICENSE-APACHE Add Dock & Panel (#10) 2024-07-01 14:20:56 +08:00