fix: Linking issues and menu bar not appearing sometimes

This commit is contained in:
WerWolv
2024-01-29 15:44:18 +01:00
parent 339541a56f
commit cecb8b8d31
5 changed files with 37 additions and 22 deletions

View File

@@ -198,6 +198,8 @@ namespace hex {
ImGui_ImplGlfw_NewFrame();
ImGui::NewFrame();
EventFrameBegin::post();
// Handle all undocked floating windows
ImGuiViewport *viewport = ImGui::GetMainViewport();
ImGui::SetNextWindowPos(viewport->WorkPos);
@@ -220,8 +222,6 @@ namespace hex {
ImGui::End();
ImGui::PopStyleVar(2);
EventFrameBegin::post();
// Plugin load error popups. These are not translated because they should always be readable, no matter if any localization could be loaded or not
{
auto drawPluginFolderTable = [] {