18 lines
354 B
Vue
18 lines
354 B
Vue
<script setup lang="ts">
|
|
const { onRender } = useScreen();
|
|
|
|
const store = useHomeStore();
|
|
const app = useAppStore();
|
|
|
|
const { assets } = useAssets();
|
|
|
|
onRender((ctx) => {
|
|
ctx.globalAlpha = app.booted ? 1 : store.intro.stage1Opacity;
|
|
assets.images.home.bottomScreen.background.draw(ctx, 0, 0);
|
|
});
|
|
|
|
defineOptions({
|
|
render: () => null,
|
|
});
|
|
</script>
|