fixed visibility check in showWindow

This commit is contained in:
Devaev Maxim 2021-04-17 14:41:02 +03:00
parent 8fdc79d679
commit 3a2ffcfd5c

View File

@ -229,7 +229,7 @@ function __WindowManager() {
self.showWindow = function(el_window, activate=true, center=false) {
let showed = false;
if (el_window.style.visibility === "hidden") {
if (!self.isWindowVisible(el_window)) {
center = true;
showed = true;
}