Skip to content

Commit

Permalink
fix: Properly trigger global shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Feb 6, 2025
1 parent 4c284b2 commit a588c96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/builtin/source/content/window_decoration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ namespace hex::plugin::builtin {
callback();
else {
if (!ShortcutManager::runShortcut(shortcut, ContentRegistry::Views::getFocusedView())) {
callback();
if (!ShortcutManager::runShortcut(shortcut)) {
callback();
}
}
}
}
Expand Down

0 comments on commit a588c96

Please sign in to comment.