Merge pull request #1396 from zed-industries/better-empty-pane

Fix Pane Focus Issues
This commit is contained in:
Keith Simmons 2022-07-21 15:07:03 -07:00 committed by GitHub
commit 9286e5ea04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 156 additions and 73 deletions

View file

@ -43,7 +43,7 @@ impl MouseEventHandler {
self
}
pub fn on_mouse_down(
pub fn on_down(
mut self,
button: MouseButton,
handler: impl Fn(MouseButtonEvent, &mut EventContext) + 'static,
@ -61,7 +61,7 @@ impl MouseEventHandler {
self
}
pub fn on_mouse_down_out(
pub fn on_down_out(
mut self,
button: MouseButton,
handler: impl Fn(MouseButtonEvent, &mut EventContext) + 'static,