Skip to content

Commit

Permalink
fix(browser): do not omit unexpected keyevent
Browse files Browse the repository at this point in the history
- closes #20681
  • Loading branch information
kwonoj committed Apr 24, 2018
1 parent 4f4fb32 commit 8c9aca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/servo/browser.rs
Expand Up @@ -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) => {
Expand Down

0 comments on commit 8c9aca2

Please sign in to comment.