From b946423b6560c55ccd0b1f2cb36ad662716f2334 Mon Sep 17 00:00:00 2001 From: buvta <12312540+buvta@users.noreply.github.com> Date: Tue, 26 Jan 2021 19:01:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=B2=BE=E7=AE=80=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E5=88=87=E6=8D=A2=E6=92=AD=E6=94=BE=E5=99=A8=E5=90=8E?= =?UTF-8?q?=E5=81=9C=E6=AD=A2=E6=97=B6=E7=AA=97=E5=8F=A3=E5=A4=A7=E5=B0=8F?= =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Play.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Play.vue b/src/components/Play.vue index cc59ce7..26f8f2b 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -899,7 +899,7 @@ export default { } }, async miniEvent () { - this.mainWindowBounds = JSON.parse(JSON.stringify(win.getBounds())) + if (!this.miniMode) this.mainWindowBounds = JSON.parse(JSON.stringify(win.getBounds())) let miniWindowBounds await mini.find().then(res => { if (res) miniWindowBounds = res.bounds }) if (!miniWindowBounds) miniWindowBounds = { x: win.getPosition()[0], y: win.getPosition()[1], width: 550, height: 340 } @@ -1544,6 +1544,7 @@ export default { this.state.showChannelList = false } } + if (this.miniMode) this.miniEvent() }) }, videoStop () {