Merge pull request 'Add garlic to emoji falling' (#41) from feature/garlic-drop-easter-egg into main

Reviewed-on: woem.men/forkey#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>();
function iconLoaded() {
const emojis = defaultStore.state.reactions;
const emojis = [...defaultStore.state.reactions, '🧄'];
const containerWidth = containerEl.value.offsetWidth;
for (let i = 0; i < 32; i++) {
easterEggEmojis.value.push({