mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-02-14 07:55:27 +08:00
精简模式添加快捷键Ctrl+0用于恢复默认
This commit is contained in:
@@ -1149,6 +1149,11 @@ export default {
|
||||
this.miniEvent()
|
||||
return false
|
||||
}
|
||||
if (e === 'resetMini') {
|
||||
const miniWindowBounds = { x: this.mainWindowBounds.x, y: this.mainWindowBounds.y, width: 550, height: 340 }
|
||||
win.setBounds(miniWindowBounds)
|
||||
return false
|
||||
}
|
||||
},
|
||||
changeSetting () {
|
||||
this.mtEvent()
|
||||
|
||||
@@ -113,6 +113,11 @@ const localKey = [
|
||||
name: 'mini',
|
||||
desc: '进入或退出mini模式',
|
||||
key: 'alt+m'
|
||||
},
|
||||
{
|
||||
name: 'resetMini',
|
||||
desc: '恢复mini窗口默认大小及位置',
|
||||
key: 'ctrl+0'
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user