File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ v0.9.2 (WIP):
2
2
3
3
NEW: Editor: Add offset of hover/select to style (thanks @MultiPain)
4
4
5
+ CHANGE: Editor: Support ImGui r18836 after SetItemUsingMouseWheel removal (#218), thanks @ocornut
6
+
5
7
CHANGE: Editor: Define IMGUI_DEFINE_MATH_OPERATORS before <imgui.h> (#209), thanks @ocornut
6
8
7
9
CHANGE: Examples: Define IMGUI_DEFINE_MATH_OPERATORS before <imgui.h> (#209), thanks @ocornut
Original file line number Diff line number Diff line change @@ -2560,7 +2560,10 @@ ed::Control ed::EditorContext::BuildControl(bool allowOffscreen)
2560
2560
if (!allowOffscreen && !m_IsHovered)
2561
2561
return Control ();
2562
2562
2563
- # if IMGUI_VERSION_NUM >= 17909
2563
+ # if IMGUI_VERSION_NUM >= 18836
2564
+ if (m_IsHoveredWithoutOverlapp)
2565
+ ImGui::SetItemKeyOwner (ImGuiKey_MouseWheelY);
2566
+ # elif IMGUI_VERSION_NUM >= 17909
2564
2567
if (m_IsHoveredWithoutOverlapp)
2565
2568
ImGui::SetItemUsingMouseWheel ();
2566
2569
# endif
You can’t perform that action at this time.
0 commit comments