diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2021-12-01 19:41:00 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2021-12-01 19:41:00 +0300 |
commit | ce7faf99c9fd3c310b0550f4fc55bcfa2f0c4ec6 (patch) | |
tree | 94c39313ed2f673cb8c7b1d1c5629503e24e0d72 | |
parent | b4987f5fc4d187eb249f20d5d42544d429f83af1 (diff) |
Show tooltip on disabled item.
-rw-r--r-- | profiler/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index b8bf8939..6ca614f4 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -881,7 +881,7 @@ static void DrawContents() ImGui::PushID( idx++ ); const bool selected = ImGui::Selectable( name->second.c_str(), &sel, flags ); ImGui::PopID(); - if( ImGui::IsItemHovered() ) + if( ImGui::IsItemHovered( ImGuiHoveredFlags_AllowWhenDisabled ) ) { char portstr[32]; sprintf( portstr, "%" PRIu16, v.second.port ); |