Merge pull request 'Add garlic to emoji falling' (#41) from feature/garlic-drop-easter-egg into main
Some checks failed
Lint / pnpm_install (push) Successful in 3m22s
Test (production install and build) / production (22.x) (push) Successful in 51m4s
Lint / lint (backend) (push) Successful in 4m59s
Lint / lint (misskey-js) (push) Successful in 3m9s
Lint / lint (frontend) (push) Failing after 8m46s
Lint / lint (sw) (push) Successful in 3m35s
Lint / typecheck (backend) (push) Successful in 3m25s
Lint / typecheck (misskey-js) (push) Successful in 2m53s

Reviewed-on: #41
This commit is contained in:
ashten 2025-01-19 00:00:19 +00:00
commit 341f92412f

View file

@ -380,7 +380,7 @@ const easterEggEngine = ref<{ stop: () => void } | null>(null);
const containerEl = shallowRef<HTMLElement>(); const containerEl = shallowRef<HTMLElement>();
function iconLoaded() { function iconLoaded() {
const emojis = defaultStore.state.reactions; const emojis = [...defaultStore.state.reactions, '🧄'];
const containerWidth = containerEl.value.offsetWidth; const containerWidth = containerEl.value.offsetWidth;
for (let i = 0; i < 32; i++) { for (let i = 0; i < 32; i++) {
easterEggEmojis.value.push({ easterEggEmojis.value.push({