mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Add annotation removal button hint.
This commit is contained in:
parent
29fe5f211f
commit
f37a324a9e
@ -14168,6 +14168,12 @@ void View::DrawAnnotationList()
|
||||
{
|
||||
remove = idx;
|
||||
}
|
||||
if( !ctrl && ImGui::IsItemHovered() )
|
||||
{
|
||||
ImGui::BeginTooltip();
|
||||
ImGui::TextUnformatted( "Press ctrl key to enable removal" );
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
ImGui::SameLine();
|
||||
ImGui::ColorButton( "c", ImGui::ColorConvertU32ToFloat4( ann->color ), ImGuiColorEditFlags_NoTooltip );
|
||||
ImGui::SameLine();
|
||||
|
Loading…
Reference in New Issue
Block a user