Refactor Setting class to update range values

This commit is contained in:
Harvey Zack committed 2024-10-20 13:28:39 +08:00
1 parent c84157e30b
commit 191c7736c4
6 files changed
+87 -36

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ var art = new Artplayer({
tooltip: '5x',
range: [5, 1, 10, 0.1],
onRange: function (item) {
return item.range + 'x';
return item.range[0] + 'x';
},
},
],