We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ee9520 commit e6cc9f5Copy full SHA for e6cc9f5
crates/gpui/src/elements/uniform_list.rs
@@ -297,7 +297,11 @@ impl Element for UniformList {
297
for (mut item, ix) in items.into_iter().zip(visible_range) {
298
let item_origin = padded_bounds.origin
299
+ point(
300
- scroll_offset.x + padding.left,
+ if can_scroll_horizontally {
301
+ scroll_offset.x + padding.left
302
+ } else {
303
+ scroll_offset.x
304
+ },
305
item_height * ix + scroll_offset.y + padding.top,
306
);
307
let available_width = if can_scroll_horizontally {
0 commit comments