21 lines
425 B
Vue
21 lines
425 B
Vue
<script setup lang="ts">
|
|
const store = useContactStore();
|
|
|
|
const buttonsImage = useTemplateRef("buttonsImage");
|
|
|
|
useRender((ctx) => {
|
|
if (!buttonsImage.value) return;
|
|
|
|
ctx.globalAlpha = store.isIntro ? store.intro.stage3Opacity : 1;
|
|
ctx.drawImage(buttonsImage.value, 31, 32);
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<img
|
|
ref="buttonsImage"
|
|
src="/assets/images/contact/bottom-screen/buttons.png"
|
|
hidden
|
|
/>
|
|
</template>
|