This commit is contained in:
Harvey Zack committed 2019-06-25 16:45:14 +08:00
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 => {