Skip to content

Commit

Permalink
chore:remove useless ref in sprite
Browse files Browse the repository at this point in the history
  • Loading branch information
luoliwoshang committed Mar 13, 2024
1 parent 91f0f76 commit 7a928f1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spx-gui/src/components/stage-viewer/Sprite.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
-->
<template>
<Costume
ref="costume"
:sprite-config="props.spriteConfig"
:selected="props.selected"
:map-config="props.mapConfig"
Expand All @@ -20,11 +19,10 @@
</template>
<script lang="ts" setup>
import Costume from './Costume.vue'
import { defineProps, defineEmits, ref } from 'vue'
import { defineProps, defineEmits } from 'vue'
import type { Sprite as SpriteConfig } from '@/class/sprite'
import type { SpriteDragMoveEvent, SpriteApperanceChangeEvent, MapConfig } from './common'
// ----------props & emit------------------------------------
const costume = ref()
const props = defineProps<{
spriteConfig: SpriteConfig
Expand Down

0 comments on commit 7a928f1

Please sign in to comment.