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 @@ -2,6 +2,8 @@ v0.9.4 (WIP):
22
33 BUGFIX: Canvas: Remember index of first command buffer to not miss updating any used (#260)
44
5+ BUGFIX: Editor: Don't duplicated ImVec2/ImVec3 == != operators defined since ImGui r19002 (#268)
6+
57v0.9.3 (2023-10-14):
68
79 CHANGE: Canvas: Use ImDrawCallback_ImCanvas macro as draw callback sentinel (#256), thanks @nspitko
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