File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ v0.9.2 (WIP):
14
14
15
15
CHANGE: Canvas: Don't use deprecated SetItemAllowOverlap (#250)
16
16
17
+ CHANGE: Editor: Define IMGUI_DEFINE_MATH_OPERATORS before <imgui.h> (#209), thanks @ocornut
18
+
19
+ CHANGE: Editor: Unary operator- for ImVec2 is defined by ImGui since r18955 (#248)
20
+
17
21
BUGFIX: Editor: Correctly initialize 'width' for view resize code (thx @gnif)
18
22
19
23
BUGFIX: Examples: Handle node deletion before links (#182)
Original file line number Diff line number Diff line change @@ -34,10 +34,12 @@ inline ImVec2 operator*(const float lhs, const ImVec2& rhs)
34
34
return ImVec2 (lhs * rhs.x , lhs * rhs.y );
35
35
}
36
36
37
+ # if IMGUI_VERSION_NUM < 18955
37
38
inline static ImVec2 operator -(const ImVec2& lhs)
38
39
{
39
40
return ImVec2 (-lhs.x , -lhs.y );
40
41
}
42
+ # endif
41
43
42
44
43
45
// ------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments