mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 00:53:52 +00:00
feat(editor): quest count and open format save indicator in Info panel
This commit is contained in:
parent
126567a1d0
commit
a3b6653e15
1 changed files with 3 additions and 1 deletions
|
|
@ -2104,10 +2104,12 @@ void EditorUI::renderPropertiesPanel(EditorApp& app) {
|
|||
if (hist.canUndo() || hist.canRedo())
|
||||
ImGui::Text("Undo: %zu Redo: %zu", hist.undoCount(), hist.redoCount());
|
||||
|
||||
ImGui::Text("Quests: %zu", app.getQuestEditor().questCount());
|
||||
|
||||
if (app.getTerrainEditor().hasUnsavedChanges())
|
||||
ImGui::TextColored(ImVec4(1, 0.8f, 0.3f, 1), "* Unsaved (Ctrl+S to save)");
|
||||
else
|
||||
ImGui::TextColored(ImVec4(0.5f, 0.8f, 0.5f, 1), "Saved");
|
||||
ImGui::TextColored(ImVec4(0.5f, 0.8f, 0.5f, 1), "Saved (open format)");
|
||||
}
|
||||
ImGui::End();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue