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.

Fix stutter while dragging something over an element that stops event propagation (#10737)

Philipp Schaffrath37e4f83a7850
diff --git a/crates/gpui/src/window.rs b/crates/gpui/src/window.rs
index c6a08606566..abddf3e3a70 100644
--- a/crates/gpui/src/window.rs
+++ b/crates/gpui/src/window.rs
@@ -1299,7 +1299,7 @@ impl<'a> WindowContext<'a> {
});
self.window.rendered_frame.mouse_listeners = mouse_listeners;
- if self.app.propagate_event && self.has_active_drag() {
+ if self.has_active_drag() {
if event.is::<MouseMoveEvent>() {
// If this was a mouse move event, redraw the window so that the
// active drag can follow the mouse cursor.