This commit is contained in:
syuilo 2018-12-11 20:47:07 +09:00
parent b954245a4d
commit edc0ae9eef

View File

@ -234,7 +234,7 @@ export default Vue.extend({
top() {
let z = 0;
const ws = this.$root.os.windows.getAll().filter(w => w != this);
const ws = Array.from(this.$root.os.windows.getAll()).filter(w => w != this);
for (const w of ws) {
const m = w.$refs.main;
const mz = Number(document.defaultView.getComputedStyle(m, null).zIndex);