Fix NullWindow going white
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user