Skip to content

Commit

Permalink
fix: Tool windows drawing on top of the welcome screen
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Oct 12, 2023
1 parent b908965 commit 48a1e93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/builtin/source/content/views/view_tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ namespace hex::plugin::builtin {
}

void ViewTools::drawAlwaysVisible() {
// Make sure the tool windows never get drawn over the welcome screen
if (!ImHexApi::Provider::isValid())
return;

auto &tools = ContentRegistry::Tools::impl::getEntries();

for (auto iter = tools.begin(); iter != tools.end(); iter++) {
Expand Down

0 comments on commit 48a1e93

Please sign in to comment.