Merge pull request #49253 from Geometror/fix-displayserverwindows-window-can-draw

Fixed window_can_draw of DisplayServerWindows
This commit is contained in:
Rémi Verschelde 2021-06-02 13:11:59 +02:00 committed by GitHub
commit 8b06d4275d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1119,7 +1119,7 @@ bool DisplayServerWindows::window_can_draw(WindowID p_window) const {
ERR_FAIL_COND_V(!windows.has(p_window), false);
const WindowData &wd = windows[p_window];
return wd.minimized;
return !wd.minimized;
}
bool DisplayServerWindows::can_any_window_draw() const {