feat(contact): animate outro
This commit is contained in:
@@ -6,7 +6,9 @@ const buttonsImage = useTemplateRef("buttonsImage");
|
||||
useRender((ctx) => {
|
||||
if (!buttonsImage.value) return;
|
||||
|
||||
ctx.globalAlpha = store.isIntro ? store.intro.stage3Opacity : 1;
|
||||
ctx.globalAlpha = store.isIntro
|
||||
? store.intro.stage3Opacity
|
||||
: store.outro.stage1Opacity;
|
||||
ctx.drawImage(buttonsImage.value, 31, 32);
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user