mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
Rename to mouse-leave for consistency with drag-leave
This commit is contained in:
@@ -127,7 +127,7 @@ void Tray::OnMouseEntered() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Tray::OnMouseExited() {
|
void Tray::OnMouseExited() {
|
||||||
Emit("mouse-exited");
|
Emit("mouse-leave");
|
||||||
}
|
}
|
||||||
|
|
||||||
void Tray::OnDragEntered() {
|
void Tray::OnDragEntered() {
|
||||||
|
|||||||
@@ -148,7 +148,7 @@ Emitted when a drag operation ends on the tray or ends at another location.
|
|||||||
|
|
||||||
Emitted when the mouse enters the tray icon.
|
Emitted when the mouse enters the tray icon.
|
||||||
|
|
||||||
#### Event: 'mouse-exit' _macOS_
|
#### Event: 'mouse-leave' _macOS_
|
||||||
|
|
||||||
Emitted when the mouse exits the tray icon.
|
Emitted when the mouse exits the tray icon.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user