Fix NullWindow going white

This commit is contained in:
Krzosa Karol
2026-01-15 22:52:18 +01:00
parent 5ab20ce8ab
commit 36180c5c90

View File

@@ -694,7 +694,7 @@ void Update(Event event) {
}; };
for (int i = 1; i < Lengthof(id); i += 1) { for (int i = 1; i < Lengthof(id); i += 1) {
if (ActiveWindowID == id[i]) { if (ActiveWindowID == id[i]) {
for (int j = 0; j < Lengthof(id); j += 1) { for (int j = 1; j < Lengthof(id); j += 1) {
if (i == j) continue; if (i == j) continue;
Window *window = GetWindow(id[j]); Window *window = GetWindow(id[j]);
window->visible = false; window->visible = false;