You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been very confused by how the report was worded initially. I don't think the PushClipRect()/Button() sequence it any related to the issue.
The issue is actually that TitleBarRect() DOES use FramePadding.y but the value is not latched/stored anywhere, and the logic in EndFrame()->UpdateMouseMovingWindowEndFrame() use the current value of FramePadding.y to determine if we clicked from title bar, which is problematic.
Version/Branch of Dear ImGui:
Version 1.XX, Branch: XXX (master/docking/etc.)
Back-ends:
imgui_impl_DX11.cpp + imgui_impl_Win32.cpp
Compiler, OS:
win11+msvc2022
Full config/build information:
Details:
TitleBarRect does not contain FramePadding. This will cause the window to not move correctly after ConfigWindowsMoveFromTitleBarOnly is enabled.
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: