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):
14
14
15
15
BUGFIX: Canvas: Remember index of first command buffer to not miss updating any used (#260)
16
16
17
+ BUGFIX: Editor: Don't duplicated ImVec2/ImVec3 == != operators defined since ImGui r19002 (#268)
18
+
17
19
v0.9.2 (2023-09-01):
18
20
19
21
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
30
30
31
31
32
32
// ------------------------------------------------------------------------------
33
+ # if IMGUI_VERSION_NUM < 19002
33
34
inline bool operator ==(const ImVec2& lhs, const ImVec2& rhs);
34
35
inline bool operator !=(const ImVec2& lhs, const ImVec2& rhs);
36
+ # endif
35
37
inline ImVec2 operator *(const float lhs, const ImVec2& rhs);
36
38
# if IMGUI_VERSION_NUM < 18955
37
39
inline ImVec2 operator -(const ImVec2& lhs);
Original file line number Diff line number Diff line change 19
19
20
20
21
21
// ------------------------------------------------------------------------------
22
+ # if IMGUI_VERSION_NUM < 19002
22
23
inline bool operator ==(const ImVec2& lhs, const ImVec2& rhs)
23
24
{
24
25
return lhs.x == rhs.x && lhs.y == rhs.y ;
@@ -28,6 +29,7 @@ inline bool operator!=(const ImVec2& lhs, const ImVec2& rhs)
28
29
{
29
30
return lhs.x != rhs.x || lhs.y != rhs.y ;
30
31
}
32
+ # endif
31
33
32
34
inline ImVec2 operator *(const float lhs, const ImVec2& rhs)
33
35
{
You can’t perform that action at this time.
0 commit comments