Remove character bounce from beat, keep only horizon pulse

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ltadeu6 2026-06-07 10:14:18 -03:00
parent 60a8190bd7
commit 1e9b63e577
No known key found for this signature in database
GPG key ID: FB9FDAB6B6F3418D

View file

@ -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) {