GPUI change proposals

This commit is contained in:
Mikayla Maki 2022-07-06 17:52:20 -07:00
parent 4d88088ca4
commit b2fa511acd
5 changed files with 24 additions and 9 deletions

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 {