mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 22:01:20 -08:00
add themeMix
This commit is contained in:
1 parent
59400eb3bf
commit
1438ce5e82
16 files changed
+428
-410
No files matched your search
@@ -1,8 +1,5 @@
|
||||
export default function miniProgressBar(art) {
|
||||
const {
|
||||
layers,
|
||||
option: { theme },
|
||||
} = art;
|
||||
const { layers, option } = art;
|
||||
|
||||
layers.add({
|
||||
name: 'miniProgressBar',
|
||||
@@ -13,7 +10,7 @@ export default function miniProgressBar(art) {
|
||||
right: 0,
|
||||
bottom: 0,
|
||||
height: '2px',
|
||||
backgroundColor: theme,
|
||||
backgroundColor: 'var(--theme)',
|
||||
},
|
||||
mounted($progressBar) {
|
||||
art.on('control', (value) => {
|
||||
|
||||
Reference in new issue
Block a user