Display message when no data to compare.

This commit is contained in:
Bartosz Taudul
2026-07-03 15:24:47 +02:00
parent f01607714e
commit 8f2bbc6116

View File

@@ -1551,6 +1551,14 @@ void View::DrawCompare()
}
}
}
else
{
ImGui::PushFont( g_fonts.normal, FontBig );
ImGui::Dummy( ImVec2( 0, ( ImGui::GetContentRegionAvail().y - ImGui::GetTextLineHeight() * 2 ) * 0.5f ) );
TextCentered( ICON_FA_FROG );
TextCentered( "No data to compare" );
ImGui::PopFont();
}
}
ImGui::EndChild();