[client] egl: fix preset tooltip always showing

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-08-30 18:47:48 +10:00
1 parent 239cb6a92b
commit f4df690d9f
1 file changed
+2 -1
+2 -1
View File
@@ -345,7 +345,8 @@ static bool presetsUI(struct EGL_PostProcess * this)
}
igEndCombo();
}
igSetTooltip("Selecting a preset will load it");
if (igIsItemHovered(ImGuiHoveredFlags_None))
igSetTooltip("Selecting a preset will load it");
if (igButton("Save preset", (ImVec2) { 0.0f, 0.0f }))
{