mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-11-28 07:11:44 +08:00
🎭 修复窗口尺寸 🦺
This commit is contained in:
@@ -13,7 +13,7 @@ protocol.registerSchemesAsPrivileged([{ scheme: 'app', privileges: { secure: tru
|
||||
|
||||
function createWindow () {
|
||||
win = new BrowserWindow({
|
||||
width: 1680,
|
||||
width: 1080,
|
||||
height: 720,
|
||||
frame: false,
|
||||
resizable: true,
|
||||
@@ -38,7 +38,7 @@ function createWindow () {
|
||||
|
||||
function createMini () {
|
||||
mini = new BrowserWindow({
|
||||
width: 1150,
|
||||
width: 550,
|
||||
miniWidth: 860,
|
||||
height: 340,
|
||||
miniHeight: 180,
|
||||
|
||||
@@ -295,6 +295,7 @@ export default {
|
||||
},
|
||||
changeView () {
|
||||
if (this.refresh >= 1) {
|
||||
this.$refs.waterfall.refresh()
|
||||
this.getPage().then(() => {
|
||||
this.infiniteId += 1
|
||||
this.refresh = 0
|
||||
|
||||
Reference in New Issue
Block a user