mirror of
https://github.com/ocornut/imgui.git
synced 2026-06-21 22:06:31 +00:00
Fixed small typo in demo code (#9425)
This commit is contained in:
@@ -4121,7 +4121,7 @@ static void DemoWindowWidgetsTooltips()
|
|||||||
ImGui::BeginDisabled();
|
ImGui::BeginDisabled();
|
||||||
ImGui::Button("Disabled item", sz);
|
ImGui::Button("Disabled item", sz);
|
||||||
if (ImGui::IsItemHovered(ImGuiHoveredFlags_ForTooltip))
|
if (ImGui::IsItemHovered(ImGuiHoveredFlags_ForTooltip))
|
||||||
ImGui::SetTooltip("I am a a tooltip for a disabled item.");
|
ImGui::SetTooltip("I am a tooltip for a disabled item.");
|
||||||
ImGui::EndDisabled();
|
ImGui::EndDisabled();
|
||||||
|
|
||||||
ImGui::TreePop();
|
ImGui::TreePop();
|
||||||
|
|||||||
Reference in New Issue
Block a user