mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 08:51:20 -08:00
bugfix
This commit is contained in:
1 parent
d3d1c83eb8
commit
98f0e80a33
8 files changed
+21
-21
No files matched your search
@@ -11,12 +11,12 @@ export default function aspectRatio(menuOption) {
|
||||
<span data-ratio="4:3">4:3</span>
|
||||
<span data-ratio="16:9">16:9</span>
|
||||
`,
|
||||
click: event => {
|
||||
click: (contextmenu, event) => {
|
||||
const { target } = event;
|
||||
const { ratio } = target.dataset;
|
||||
if (ratio) {
|
||||
player.aspectRatio = ratio;
|
||||
art.contextmenu.show = false;
|
||||
contextmenu.show = false;
|
||||
}
|
||||
},
|
||||
mounted: $menu => {
|
||||
|
||||
Reference in new issue
Block a user