Remove character bounce from beat, keep only horizon pulse
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
60a8190bd7
commit
1e9b63e577
1 changed files with 3 additions and 5 deletions
|
|
@ -973,11 +973,9 @@ const beatWrap = document.querySelector('.beat-wrap');
|
|||
const horizonEl = document.querySelector('.horizon');
|
||||
|
||||
function triggerBeat() {
|
||||
[beatWrap, horizonEl].forEach(el => {
|
||||
el.classList.remove('beat');
|
||||
void el.offsetWidth;
|
||||
el.classList.add('beat');
|
||||
});
|
||||
horizonEl.classList.remove('beat');
|
||||
void horizonEl.offsetWidth;
|
||||
horizonEl.classList.add('beat');
|
||||
}
|
||||
|
||||
function detectBeat(vals) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue