mirror of
https://github.com/servo/servo.git
synced 2025-08-17 11:25:35 +01:00
Avoid Esc shortcut to close Servo (#32603)
* Avoid Esc shortcut to close Servo Keep Esc shortcut to leave fullscreen, but avoid to close Servo (as this is not common in other similar apps, and can be shortcut used in some web apps for other things). * Send Esc to the page
This commit is contained in:
parent
aa99c85645
commit
574a22a6cd
2 changed files with 3 additions and 2 deletions
|
@ -343,7 +343,7 @@ where
|
|||
self.event_queue.push(event);
|
||||
}
|
||||
} else {
|
||||
self.event_queue.push(EmbedderEvent::Quit);
|
||||
self.platform_handle_key(key_event.clone());
|
||||
}
|
||||
})
|
||||
.otherwise(|| self.platform_handle_key(key_event));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue