Files

20 lines
430 B
Vue

<script setup lang="ts">
const { onRender } = useScreen();
const store = useContactStore();
const { assets } = useAssets();
onRender((ctx) => {
assets.images.home.bottomScreen.background.draw(ctx, 0, 0);
ctx.globalAlpha = store.isIntro
? store.intro.stage2Opacity
: store.outro.stage3Opacity;
assets.images.contact.bottomScreen.background.draw(ctx, 0, 0);
});
defineOptions({
render: () => null,
});
</script>