mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 10:49:59 +01:00
bugfix linux shared webcam ui
This commit is contained in:
@@ -148,7 +148,7 @@ bool ImGuiToolkit::ButtonIcon(int i, int j, const char *tooltip)
|
||||
bool ret = ImGui::ImageButton((void*)(intptr_t)textureicons, ImVec2(ImGui::GetTextLineHeightWithSpacing(),ImGui::GetTextLineHeightWithSpacing()), uv0, uv1, 3);
|
||||
ImGui::PopID();
|
||||
|
||||
if (tooltip != nullptr)
|
||||
if (tooltip != nullptr && ImGui::IsItemHovered())
|
||||
ImGuiToolkit::ToolTip(tooltip);
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user