This commit is contained in:
syuilo 2023-01-07 17:37:30 +09:00
parent 6f4ad581dc
commit b8248bdd65
2 changed files with 9 additions and 3 deletions

View file

@ -61,7 +61,7 @@ const anime = () => {
const rect = buttonRef.value.getBoundingClientRect();
const x = rect.left + (buttonRef.value.offsetWidth / 2);
const y = rect.top + (buttonRef.value.offsetHeight / 2);
os.popup(MkPlusOneEffect, { x, y }, {}, 'end');
os.popup(MkPlusOneEffect, { reaction: props.reaction, x, y }, {}, 'end');
};
watch(() => props.count, (newCount, oldCount) => {