mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 04:43:53 +00:00
Show tooltip on disabled item.
This commit is contained in:
parent
b4987f5fc4
commit
ce7faf99c9
@ -881,7 +881,7 @@ static void DrawContents()
|
|||||||
ImGui::PushID( idx++ );
|
ImGui::PushID( idx++ );
|
||||||
const bool selected = ImGui::Selectable( name->second.c_str(), &sel, flags );
|
const bool selected = ImGui::Selectable( name->second.c_str(), &sel, flags );
|
||||||
ImGui::PopID();
|
ImGui::PopID();
|
||||||
if( ImGui::IsItemHovered() )
|
if( ImGui::IsItemHovered( ImGuiHoveredFlags_AllowWhenDisabled ) )
|
||||||
{
|
{
|
||||||
char portstr[32];
|
char portstr[32];
|
||||||
sprintf( portstr, "%" PRIu16, v.second.port );
|
sprintf( portstr, "%" PRIu16, v.second.port );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user