Fixed window_can_draw of DisplayServerWindows

This commit is contained in:
Hendrik Brucker 2021-06-02 12:51:36 +02:00
parent ac47e1d3e5
commit 6abd842a5a

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 {