Open Zvendson opened 1 year ago
tricky title buuut: an issue without modifying the code is that all menubar entries like "File" and "Help" dont react on left clicking when you are at the lower half of the field.
I also tried shifting hte menubar entries on the Y axis down to be actually below the window title, cause I want mine to be beneath the title. You can test that in this line: https://github.com/StudioCherno/Walnut/blob/7e478a3828059eafabc31cb0559a31d1d83dad12/Walnut/Platform/GUI/Walnut/ApplicationGUI.cpp#L734C45-L734C45
just change it to:
ImGui::SetCursorPos(ImVec2(logoHorizontalOffset, 20.0f + titlebarVerticalOffset));
tricky title buuut: an issue without modifying the code is that all menubar entries like "File" and "Help" dont react on left clicking when you are at the lower half of the field.
I also tried shifting hte menubar entries on the Y axis down to be actually below the window title, cause I want mine to be beneath the title. You can test that in this line: https://github.com/StudioCherno/Walnut/blob/7e478a3828059eafabc31cb0559a31d1d83dad12/Walnut/Platform/GUI/Walnut/ApplicationGUI.cpp#L734C45-L734C45
just change it to: