Add annotation removal button hint.

This commit is contained in:
Bartosz Taudul 2020-07-29 17:07:40 +02:00
parent 29fe5f211f
commit f37a324a9e

View File

@ -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();