Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
tangllty committed Jul 2, 2024
1 parent 7e06f51 commit 4f45292
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/components/Background/Rain/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,6 @@
</template>

<script lang="ts" setup>
// const canvasRef = ref<HTMLCanvasElement | null>(null)
// onMounted(() => {
// initCanvas()
// })
// onUnmounted(() => {
// window.removeEventListener('resize', resizeCanvas)
// if (!canvasRef.value) return
// canvasRef.value.width = window.innerWidth
// canvasRef.value.height = window.innerHeight
// if (animationFrameId) {
// cancelAnimationFrame(animationFrameId)
// }
// })
const state = reactive({
canvas: {} as HTMLCanvasElement,
ctx: {} as CanvasRenderingContext2D
Expand Down

0 comments on commit 4f45292

Please sign in to comment.