impr: Unlock frame rate in more cases

This commit is contained in:
WerWolv
2025-05-10 10:43:07 +02:00
parent fc87bc0cf1
commit eec6a5da0a
2 changed files with 8 additions and 0 deletions

View File

@@ -518,6 +518,9 @@ namespace hex {
EventFileDropped::post(reinterpret_cast<const char8_t *>(paths[i]));
}
});
EventFileDropped::subscribe([this] {
this->unlockFrameRate();
});
}
bool borderlessWindowMode = ImHexApi::System::isBorderlessWindowModeEnabled();