1
0
mirror of synced 2024-11-13 18:50:53 +01:00

fix: Tool windows drawing on top of the welcome screen

Fixes #1364
This commit is contained in:
WerWolv 2023-10-12 15:15:05 +02:00
parent b908965048
commit 48a1e93cfe

View File

@ -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++) {