Tray: Rename events to drag-enter and drag-leave
Previously, the names were drag-entered and drag-exited. The new names mirror the HTML Drag and Drop event names
This commit is contained in:
parent
8a296f82a0
commit
f98147ea01
2 changed files with 4 additions and 4 deletions
|
@ -79,11 +79,11 @@ void Tray::OnDropFiles(const std::vector<std::string>& files) {
|
|||
}
|
||||
|
||||
void Tray::OnDragEntered() {
|
||||
Emit("drag-entered");
|
||||
Emit("drag-enter");
|
||||
}
|
||||
|
||||
void Tray::OnDragExited() {
|
||||
Emit("drag-exited");
|
||||
Emit("drag-leave");
|
||||
}
|
||||
|
||||
bool Tray::IsDestroyed() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue