mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-01 07:57:21 -04:00
Window animations & tags instead of classes
This commit is contained in:
+2
-2
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user