Improve usability

This commit is contained in:
syuilo
2020-11-01 22:49:08 +09:00
parent d3e764d7f9
commit 666c8c0498
2 changed files with 11 additions and 0 deletions

View File

@ -119,6 +119,9 @@ export default defineComponent({
z: Number(document.defaultView.getComputedStyle(this.$el, null).zIndex)
});
// 他のウィンドウ内のボタンなどを押してこのウィンドウが開かれた場合、親が最前面になろうとするのでそれに隠されないようにする
this.top();
window.addEventListener('resize', this.onBrowserResize);
},