Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

workspace: Ensure pane handle hitbox blocks mouse events (#31719)

Finn Everscbed580db0e8
diff --git a/crates/workspace/src/pane_group.rs b/crates/workspace/src/pane_group.rs
index 7700907f068..2f6d0847df3 100644
--- a/crates/workspace/src/pane_group.rs
+++ b/crates/workspace/src/pane_group.rs
@@ -1091,7 +1091,7 @@ mod element {
};
PaneAxisHandleLayout {
- hitbox: window.insert_hitbox(handle_bounds, HitboxBehavior::Normal),
+ hitbox: window.insert_hitbox(handle_bounds, HitboxBehavior::BlockMouse),
divider_bounds,
}
}