File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ v0.10.0 (WIP):
1414
1515 BUGFIX: Canvas: Remember index of first command buffer to not miss updating any used (#260)
1616
17+ BUGFIX: Editor: Don't duplicated ImVec2/ImVec3 == != operators defined since ImGui r19002 (#268)
18+
1719v0.9.2 (2023-09-01):
1820
1921 NEW: Editor: Add offset of hover/select to style (thanks @MultiPain)
Original file line number Diff line number Diff line change @@ -30,8 +30,10 @@ struct ImLine
3030
3131
3232// ------------------------------------------------------------------------------
33+ # if IMGUI_VERSION_NUM < 19002
3334inline bool operator ==(const ImVec2& lhs, const ImVec2& rhs);
3435inline bool operator !=(const ImVec2& lhs, const ImVec2& rhs);
36+ # endif
3537inline ImVec2 operator *(const float lhs, const ImVec2& rhs);
3638# if IMGUI_VERSION_NUM < 18955
3739inline ImVec2 operator -(const ImVec2& lhs);
Original file line number Diff line number Diff line change 1919
2020
2121// ------------------------------------------------------------------------------
22+ # if IMGUI_VERSION_NUM < 19002
2223inline bool operator ==(const ImVec2& lhs, const ImVec2& rhs)
2324{
2425 return lhs.x == rhs.x && lhs.y == rhs.y ;
@@ -28,6 +29,7 @@ inline bool operator!=(const ImVec2& lhs, const ImVec2& rhs)
2829{
2930 return lhs.x != rhs.x || lhs.y != rhs.y ;
3031}
32+ # endif
3133
3234inline ImVec2 operator *(const float lhs, const ImVec2& rhs)
3335{
You can’t perform that action at this time.
0 commit comments