Skip to content

Commit 2379a8b

Browse files
committed
Actually fix build
ImGuiHoveredFlags_Default isn't a valid identifier. It seems it perhaps was at some point, but the flag that's in the api is ImGuiHoveredFlags_None. I see the former mentioned in ocornut#1382, and its description is the same as what is now given to None.
1 parent 7b7b65e commit 2379a8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

imgui_user.inl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ namespace ImGui
7676
if (!ItemAdd(bb, 0))
7777
return 0;
7878

79-
const bool hovered = IsItemHovered(ImGuiHoveredFlags_Default);
79+
const bool hovered = IsItemHovered(ImGuiHoveredFlags_None);
8080

8181
int max = 0;
8282
while (max < maxpoints && points[max].x >= 0) max++;
@@ -248,7 +248,7 @@ namespace ImGui
248248
return 0;
249249
}
250250

251-
const bool hovered = IsItemHovered(ImGuiHoveredFlags_Default);
251+
const bool hovered = IsItemHovered(ImGuiHoveredFlags_None);
252252

253253
int max = 0;
254254
while (max < maxpoints && points[max].x >= 0) {

0 commit comments

Comments
 (0)