20 lines
448 B
Vue
Raw Normal View History

2026-05-31 13:21:13 +02:00
<script setup lang="ts">
import { sharedState } from '../state/shared'
</script>
<template>
<div
v-if="sharedState.cursor"
class="absolute top-0 left-0 right-0 bottom-0 pointer-events-none text-xl"
>
<ph-cursor-fill
class="absolute stroke-white dark:stroke-black"
:style="{
left: `${sharedState.cursor.x}%`,
top: `${sharedState.cursor.y}%`,
strokeWidth: 16,
}"
/>
</div>
</template>