mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -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() {
|
||||
Emit("mouse-exited");
|
||||
Emit("mouse-leave");
|
||||
}
|
||||
|
||||
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.
|
||||
|
||||
#### Event: 'mouse-exit' _macOS_
|
||||
#### Event: 'mouse-leave' _macOS_
|
||||
|
||||
Emitted when the mouse exits the tray icon.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user