From 28dea8e5bd861f9c6dc18e5ac49094f45db7c282 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 1 Jul 2023 22:55:59 +0200 Subject: [PATCH] fix: Menu Bar being scrollable sideways --- main/source/window/window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main/source/window/window.cpp b/main/source/window/window.cpp index f2e623bdf..4c703f807 100644 --- a/main/source/window/window.cpp +++ b/main/source/window/window.cpp @@ -426,6 +426,7 @@ namespace hex { // Render main menu ImGui::PushStyleVar(ImGuiStyleVar_WindowBorderSize, 0.0F); + ImGui::SetNextWindowScroll(ImVec2(0, 0)); if (ImGui::BeginMainMenuBar()) { if (ImHexApi::System::isBorderlessWindowModeEnabled()) {