mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 14:41:20 -08:00
bugfix
This commit is contained in:
1 parent
d3d1c83eb8
commit
98f0e80a33
8 files changed
+21
-21
No files matched your search
@@ -19,7 +19,7 @@ export default function aspectRatio(settingOption) {
|
||||
</div>
|
||||
</div>
|
||||
`,
|
||||
click: event => {
|
||||
click: (setting, event) => {
|
||||
const { value } = event.target.dataset;
|
||||
if (value) {
|
||||
player.aspectRatio = value;
|
||||
|
||||
@@ -19,7 +19,7 @@ export default function flip(settingOption) {
|
||||
</div>
|
||||
</div>
|
||||
`,
|
||||
click: event => {
|
||||
click: (setting, event) => {
|
||||
const { value } = event.target.dataset;
|
||||
if (value) {
|
||||
player.flip = value;
|
||||
|
||||
Reference in new issue
Block a user