Add editor browser navigation, idle rendering and Modern pickers (by Codex)
OBW Editor / editor (linux-x64, ubuntu-24.04) (push) Waiting to run
OBW Editor / editor (macos-arm64, macos-14) (push) Waiting to run
OBW Editor / editor (windows-x64, windows-2022) (push) Waiting to run

This commit is contained in:
Codex committed 2026-10-23 13:48:32 +02:00
1 parent 245e213cca
commit fe307dea41
21 files changed
+648 -47

No files matched your search

+2
View File
@@ -59,6 +59,7 @@ Json Session::info() const {
Json result = world_ ? world_->statistics() : Json{{"title", ""}, {"counts", Json::object()}};
result["loaded"] = bool(world_);
result["revision"] = revision_;
result["world_generation"] = world_generation_;
result["dirty"] = dirty();
result["can_undo"] = cursor_ > 0;
result["can_redo"] = cursor_ < history_.size();
@@ -67,6 +68,7 @@ Json Session::info() const {
}
void Session::replace(World value) {
world_ = std::make_unique<World>(std::move(value));
++world_generation_;
history_.clear();
cursor_ = 0;
++revision_;