mirror of
https://github.com/Break27/kvmd.git
synced 2026-02-06 18:36:37 +08:00
fixed visibility check in showWindow
This commit is contained in:
parent
8fdc79d679
commit
3a2ffcfd5c
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user