feat(home): intro + outro animations
This commit is contained in:
@@ -10,7 +10,7 @@ const buttonImage = useTemplateRef("buttonImage");
|
||||
useRender((ctx) => {
|
||||
if (!buttonImage.value) return;
|
||||
|
||||
ctx.globalAlpha = props.opacity / 100;
|
||||
ctx.globalAlpha = props.opacity;
|
||||
ctx.drawImage(buttonImage.value, props.x, props.y);
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user