SaveTool: improve the M.A.S.S. manager UI.

This commit is contained in:
Guillaume Jacquemin 2021-08-19 14:11:18 +02:00
parent 2644a73fc9
commit e580736ac6

View file

@ -478,10 +478,10 @@ void SaveTool::drawMassManager() {
ImGui::TableSetColumnIndex(1);
switch(_massManager->massState(i)) {
case MassState::Empty:
ImGui::TextUnformatted("<empty>");
ImGui::TextDisabled("<empty>");
break;
case MassState::Invalid:
ImGui::TextUnformatted("<invalid>");
ImGui::TextDisabled("<invalid>");
break;
case MassState::Valid:
ImGui::TextUnformatted(_massManager->massName(i).c_str());
@ -491,6 +491,7 @@ void SaveTool::drawMassManager() {
if(i == _currentProfile->activeFrameSlot()) {
ImGui::TableSetColumnIndex(2);
ImGui::TextUnformatted(ICON_FA_CHECK);
drawTooltip("This is the currently active frame slot.");
}
if(_massManager->massState(i) != MassState::Empty) {