fix(browser): do not omit unexpected keyevent

- closes #20681
This commit is contained in:
OJ Kwon 2018-04-24 09:47:46 -07:00
parent 4f4fb32264
commit 8c9aca2ea3
No known key found for this signature in database
GPG key ID: 6C23A45602A44DA6

View file

@ -108,7 +108,7 @@ impl Browser {
(CMD_OR_CONTROL, Some('q'), _) => {
self.event_queue.push(WindowEvent::Quit);
}
(_, Some('3'), _) => if mods ^ KeyModifiers::CONTROL == KeyModifiers::SHIFT {
(_, Some('3'), _) if mods ^ KeyModifiers::CONTROL == KeyModifiers::SHIFT => {
self.event_queue.push(WindowEvent::CaptureWebRender);
}
(KeyModifiers::CONTROL, None, Key::F10) => {