mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-05-05 13:02:14 +08:00
进入精简模式,无需设置大小位置,直接调用getCssFullscreen即可
This commit is contained in:
@@ -775,8 +775,6 @@ export default {
|
||||
}
|
||||
},
|
||||
async miniEvent () {
|
||||
const miniWindowBounds = { x: win.getPosition()[0], y: win.getPosition()[1], width: win.getSize()[0], height: win.getSize()[1] }
|
||||
win.setBounds(miniWindowBounds)
|
||||
this.xg.getCssFullscreen()
|
||||
this.miniMode = true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user