mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
impr: Make sure welcome screen stays at the back
This commit is contained in:
@@ -402,7 +402,7 @@ namespace hex {
|
||||
}
|
||||
|
||||
void Window::beginNativeWindowFrame() {
|
||||
g_titleBarHeight = ImGui::GetCurrentWindow()->MenuBarHeight();
|
||||
g_titleBarHeight = ImGui::GetCurrentWindowRead()->MenuBarHeight();
|
||||
}
|
||||
|
||||
void Window::endNativeWindowFrame() {
|
||||
|
||||
@@ -255,7 +255,7 @@ namespace hex {
|
||||
}
|
||||
|
||||
void Window::drawTitleBar() const {
|
||||
auto titleBarHeight = ImGui::GetCurrentWindow()->MenuBarHeight();
|
||||
auto titleBarHeight = ImGui::GetCurrentWindowRead()->MenuBarHeight();
|
||||
auto buttonSize = ImVec2(titleBarHeight * 1.5F, titleBarHeight - 1);
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0, 0));
|
||||
@@ -383,7 +383,7 @@ namespace hex {
|
||||
}
|
||||
}();
|
||||
|
||||
const auto menuBarHeight = ImGui::GetCurrentWindow()->MenuBarHeight();
|
||||
const auto menuBarHeight = ImGui::GetCurrentWindowRead()->MenuBarHeight();
|
||||
auto sidebarPos = ImGui::GetCursorPos();
|
||||
auto sidebarWidth = shouldDrawSidebar ? 20_scaled : 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user