Window animations & tags instead of classes

This commit is contained in:
Luke Street
2026-04-30 20:55:14 -06:00
parent dca3e2eba6
commit 8aa08c9443
17 changed files with 141 additions and 98 deletions
+2 -2
View File
@@ -87,8 +87,8 @@ Document* top_document() noexcept {
}
void update() noexcept {
for (size_t i = 0; i < sDocuments.size(); ++i) {
sDocuments[i].doc->update();
for (const auto& doc : sDocuments) {
doc.doc->update();
}
sDocuments.erase(
std::remove_if(sDocuments.begin(), sDocuments.end(),