mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-28 02:50:06 +00:00
TreeNode: Fixed bug where dragging a payload over a TreeNode() with either _OpenOnDoubleClick or _OpenOnArrow would open the node. (#143)
This commit is contained in:
parent
54b38d88f7
commit
1fd9e131e4
4 changed files with 15 additions and 4 deletions
|
|
@ -3795,6 +3795,7 @@ void ImGui::NewFrame()
|
|||
g.DragDropAcceptIdCurrRectSurface = FLT_MAX;
|
||||
g.DragDropWithinSource = false;
|
||||
g.DragDropWithinTarget = false;
|
||||
g.DragDropHoldJustPressedId = 0;
|
||||
|
||||
// Update keyboard input state
|
||||
// Synchronize io.KeyMods with individual modifiers io.KeyXXX bools
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue