mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Move WR profiler keybindings to glutin window, where the other keybindings
are located
This commit is contained in:
parent
95a85a301f
commit
e5e3748a46
3 changed files with 12 additions and 13 deletions
|
@ -1290,6 +1290,9 @@ impl WindowMethods for Window {
|
|||
self.event_queue.borrow_mut().push(WindowEvent::Quit);
|
||||
}
|
||||
}
|
||||
(CONTROL, None, Key::F12) => {
|
||||
self.event_queue.borrow_mut().push(WindowEvent::ToggleWebRenderProfiler);
|
||||
}
|
||||
|
||||
_ => {
|
||||
self.platform_handle_key(key, mods);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue