Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/platform/guihtml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -832,6 +832,9 @@ class WindowImplHtml final : public Window {
void *data) {
if(emEvent->altKey) return EM_FALSE;
if(emEvent->repeat) return EM_FALSE;
// Pass Ctrl-= through to the browser (for font size increase), symmetric with
// Ctrl-minus which is already passed through since it doesn't match any shortcut.
if(emEvent->ctrlKey && strcmp(emEvent->key, "=") == 0) return EM_FALSE;

WindowImplHtml *window = (WindowImplHtml *)data;
KeyboardEvent event = {};
Expand Down