mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 16:11:20 -08:00
chore: Update danmuku plugin configuration handling and improve performance
This commit is contained in:
1 parent
4971eaa17c
commit
fcef233746
4 files changed
+22
-7
No files matched your search
@@ -1018,8 +1018,8 @@ class Setting {
|
||||
steps: []
|
||||
};
|
||||
}
|
||||
get FONTSIZE() {
|
||||
return this.option.FONTSIZE || {
|
||||
get FONT_SIZE() {
|
||||
return this.option.FONT_SIZE || {
|
||||
min: 12,
|
||||
max: 120,
|
||||
steps: []
|
||||
@@ -1242,7 +1242,7 @@ class Setting {
|
||||
}
|
||||
});
|
||||
this.slider.fontSize = this.createSlider({
|
||||
...this.FONTSIZE,
|
||||
...this.FONT_SIZE,
|
||||
container: this.template.$fontSizeSlider,
|
||||
findIndex: ()=>{
|
||||
return Math.round(this.danmuku.fontSize);
|
||||
|
||||
Reference in new issue
Block a user