diff options
author | OJ Kwon <kwon.ohjoong@gmail.com> | 2018-04-24 09:47:46 -0700 |
---|---|---|
committer | OJ Kwon <kwon.ohjoong@gmail.com> | 2018-04-24 09:47:46 -0700 |
commit | 8c9aca2ea336270aa2d2e18e30b672af6db03136 (patch) | |
tree | ee84a42c8051258488a638f58722b6ed18b91482 | |
parent | 4f4fb32264ab94406c189471e9ec753a06011b23 (diff) | |
download | servo-8c9aca2ea336270aa2d2e18e30b672af6db03136.tar.gz servo-8c9aca2ea336270aa2d2e18e30b672af6db03136.zip |
fix(browser): do not omit unexpected keyevent
- closes #20681
-rw-r--r-- | ports/servo/browser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/servo/browser.rs b/ports/servo/browser.rs index 38d61b8d334..429b59b189b 100644 --- a/ports/servo/browser.rs +++ b/ports/servo/browser.rs @@ -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) => { |