Skip to content

Commit 8c9aca2

Browse files
committed
fix(browser): do not omit unexpected keyevent
- closes #20681
1 parent 4f4fb32 commit 8c9aca2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ports/servo/browser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ impl Browser {
108108
(CMD_OR_CONTROL, Some('q'), _) => {
109109
self.event_queue.push(WindowEvent::Quit);
110110
}
111-
(_, Some('3'), _) => if mods ^ KeyModifiers::CONTROL == KeyModifiers::SHIFT {
111+
(_, Some('3'), _) if mods ^ KeyModifiers::CONTROL == KeyModifiers::SHIFT => {
112112
self.event_queue.push(WindowEvent::CaptureWebRender);
113113
}
114114
(KeyModifiers::CONTROL, None, Key::F10) => {

0 commit comments

Comments
 (0)