mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 13:21:20 -08:00
压缩字符
This commit is contained in:
1 parent
7ff61b4660
commit
0cf455ced3
27 files changed
+171
-239
No files matched your search
@@ -15,15 +15,11 @@ export default function setting(option) {
|
||||
append($control, icons.setting);
|
||||
|
||||
proxy($control, 'click', () => {
|
||||
setting.toggle();
|
||||
setting.toggle = true;
|
||||
});
|
||||
|
||||
art.on('setting:toggle', value => {
|
||||
if (value) {
|
||||
tooltip($control, i18n.get('Hide setting'));
|
||||
} else {
|
||||
tooltip($control, i18n.get('Show setting'));
|
||||
}
|
||||
tooltip($control, i18n.get(value ? 'Hide setting' : 'Show setting'));
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user