[client] egl: fix preset tooltip always showing

This commit is contained in:
Quantum 2021-08-30 04:47:00 -04:00 committed by Geoffrey McRae
parent 239cb6a92b
commit f4df690d9f

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 }))
{