ZIm/crates/ui/src
Piotr Osiewicz 4097118070
ui: Fix scrollbar content size calculation for non-uniform lists with single element (#20237)
Previously we were always adding the origin coordinate of last item to
the content size, which is incorrect when the list has just one item; in
that case, we should just use the size of that item as the content size
of a list.

Closes #ISSUE

Release Notes:

- N/A
2024-11-05 14:32:13 +01:00
..
components ui: Fix scrollbar content size calculation for non-uniform lists with single element (#20237) 2024-11-05 14:32:13 +01:00
styles Add theme preview (#20039) 2024-10-31 11:40:38 -04:00
tests ui crate docs & spring cleaning (#18768) 2024-10-05 23:28:34 -04:00
traits ssh: Overhaul remoting UI (#18727) 2024-10-07 15:01:50 +02:00
utils Add theme preview (#20039) 2024-10-31 11:40:38 -04:00
components.rs gpui: Add scroll anchors (#19894) 2024-11-01 14:47:46 +01:00
prelude.rs ui crate docs & spring cleaning (#18768) 2024-10-05 23:28:34 -04:00
styles.rs Improve experience when themes provide transparent status colors (#13996) 2024-07-09 11:27:47 -04:00
tests.rs ui crate docs & spring cleaning (#18768) 2024-10-05 23:28:34 -04:00
traits.rs ui crate docs & spring cleaning (#18768) 2024-10-05 23:28:34 -04:00
ui.rs ui crate docs & spring cleaning (#18768) 2024-10-05 23:28:34 -04:00
utils.rs Add theme preview (#20039) 2024-10-31 11:40:38 -04:00