This commit is contained in:
syuilo 2018-12-11 20:47:07 +09:00
parent 125849673a
commit d885b872f3
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -234,7 +234,7 @@ export default Vue.extend({
top() { top() {
let z = 0; 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) { for (const w of ws) {
const m = w.$refs.main; const m = w.$refs.main;
const mz = Number(document.defaultView.getComputedStyle(m, null).zIndex); const mz = Number(document.defaultView.getComputedStyle(m, null).zIndex);