Don't stop propagation on mouse move over editor gutter
This commit is contained in:
parent
cf037ea4a8
commit
e655d2434a
2 changed files with 2 additions and 3 deletions
|
@ -564,8 +564,6 @@ impl EditorElement {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cx.stop_propagation();
|
|
||||||
} else {
|
} else {
|
||||||
update_go_to_definition_link(editor, None, modifiers.command, modifiers.shift, cx);
|
update_go_to_definition_link(editor, None, modifiers.command, modifiers.shift, cx);
|
||||||
hover_at(editor, None, cx);
|
hover_at(editor, None, cx);
|
||||||
|
|
|
@ -495,7 +495,8 @@ impl Render for Dock {
|
||||||
})
|
})
|
||||||
.on_click(cx.listener(|v, e: &ClickEvent, cx| {
|
.on_click(cx.listener(|v, e: &ClickEvent, cx| {
|
||||||
if e.down.button == MouseButton::Left && e.down.click_count == 2 {
|
if e.down.button == MouseButton::Left && e.down.click_count == 2 {
|
||||||
v.resize_active_panel(None, cx)
|
v.resize_active_panel(None, cx);
|
||||||
|
cx.stop_propagation();
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
.z_index(1);
|
.z_index(1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue