Move WR profiler keybindings to glutin window, where the other keybindings

are located
This commit is contained in:
Tremoneck 2017-07-10 12:43:01 +02:00
parent 95a85a301f
commit e5e3748a46
3 changed files with 12 additions and 13 deletions

View file

@ -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);