Merge branch '改变了战区排名英雄排名虎狼之师英雄榜' of http://git.aigc-quickapp.com/WeWork/vs100 into tmp
This commit is contained in:
@@ -1037,7 +1037,8 @@ const startDrumAnimation = () => {
|
|||||||
drum.style.setProperty('--drum-translate-y', isStrongBeat ?
|
drum.style.setProperty('--drum-translate-y', isStrongBeat ?
|
||||||
`${(animationConfig.beatTranslateY || -15) * (1 + (patternConfig.accentAnimation || 0) / 100)}px` :
|
`${(animationConfig.beatTranslateY || -15) * (1 + (patternConfig.accentAnimation || 0) / 100)}px` :
|
||||||
`${animationConfig.beatTranslateY || -15}px`);
|
`${animationConfig.beatTranslateY || -15}px`);
|
||||||
drum.style.setProperty('--drum-rotate', `${animationConfig.beatRotate || 5}deg`);
|
drum.style.setProperty('--drum-rotate', `${animationConfig.beatRotate || 5}deg`);
|
||||||
|
|
||||||
drum.style.setProperty('--drum-brightness', isStrongBeat ? '1.4' : '1.3');
|
drum.style.setProperty('--drum-brightness', isStrongBeat ? '1.4' : '1.3');
|
||||||
drum.style.setProperty('--drum-saturation', isStrongBeat ? '1.3' : '1.2');
|
drum.style.setProperty('--drum-saturation', isStrongBeat ? '1.3' : '1.2');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user