GPUI change proposals

This commit is contained in:
Mikayla Maki
2022-07-07 14:51:34 -07:00
parent 49859d8f94
commit 2c6dcb82ef
5 changed files with 24 additions and 9 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ impl Sidebar {
})
.with_cursor_style(CursorStyle::ResizeLeftRight)
.on_mouse_down(|_, _| {}) // This prevents the mouse down event from being propagated elsewhere
.on_drag(move |delta, cx| {
.on_drag(move |delta, _, cx| {
let prev_width = *actual_width.borrow();
*custom_width.borrow_mut() = 0f32
.max(match side {