Merge pull request #1396 from zed-industries/better-empty-pane
Fix Pane Focus Issues
This commit is contained in:
commit
9286e5ea04
14 changed files with 156 additions and 73 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue