mirror of
https://github.com/wolfpld/tracy
synced 2025-05-03 14:03:52 +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;
|
remove = idx;
|
||||||
}
|
}
|
||||||
|
if( !ctrl && ImGui::IsItemHovered() )
|
||||||
|
{
|
||||||
|
ImGui::BeginTooltip();
|
||||||
|
ImGui::TextUnformatted( "Press ctrl key to enable removal" );
|
||||||
|
ImGui::EndTooltip();
|
||||||
|
}
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::ColorButton( "c", ImGui::ColorConvertU32ToFloat4( ann->color ), ImGuiColorEditFlags_NoTooltip );
|
ImGui::ColorButton( "c", ImGui::ColorConvertU32ToFloat4( ann->color ), ImGuiColorEditFlags_NoTooltip );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user