mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 13:05:25 -05:00
Fixed command palette and added /web command
This commit is contained in:
@@ -150,7 +150,7 @@ namespace hex {
|
||||
for (auto &view : ContentRegistry::Views::getEntries()) {
|
||||
view->drawAlwaysVisible();
|
||||
|
||||
if (!view->isAvailable() || !view->getWindowOpenState())
|
||||
if (!view->shouldProcess())
|
||||
continue;
|
||||
|
||||
auto minSize = view->getMinSize();
|
||||
@@ -264,7 +264,7 @@ namespace hex {
|
||||
|
||||
if (auto &[key, mods] = Window::s_currShortcut; key != -1) {
|
||||
for (auto &view : ContentRegistry::Views::getEntries()) {
|
||||
if (view->getWindowOpenState()) {
|
||||
if (view->shouldProcess()) {
|
||||
if (view->handleShortcut(key, mods))
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user