From d885b872f314afeb2013e12859c6f58f9948ae2c Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 11 Dec 2018 20:47:07 +0900 Subject: [PATCH] Fix bug --- src/client/app/desktop/views/components/window.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/app/desktop/views/components/window.vue b/src/client/app/desktop/views/components/window.vue index 7eaeed9ad..40a8d6d59 100644 --- a/src/client/app/desktop/views/components/window.vue +++ b/src/client/app/desktop/views/components/window.vue @@ -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);