fix: Detached window headers not getting scaled

This commit is contained in:
WerWolv
2025-07-21 22:36:14 +02:00
parent 9c6926a1fb
commit 90c2667028

View File

@@ -408,15 +408,13 @@ namespace hex {
}
void Window::frameBegin() {
ImGui_ImplOpenGL3_NewFrame();
ImGui_ImplGlfw_NewFrame();
ImHexApi::Fonts::getDefaultFont().push();
// Start new ImGui Frame
ImGui_ImplOpenGL3_NewFrame();
ImGui_ImplGlfw_NewFrame();
ImGui::NewFrame();
ImHexApi::Fonts::getDefaultFont().push();
#if defined(IMGUI_TEST_ENGINE)
if (ImGuiExt::ImGuiTestEngine::isEnabled())
ImGuiTestEngine_ShowTestEngineWindows(m_testEngine, nullptr);