File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 44 <VeaseViewToolbar />
55 <slot name =" ui" ></slot >
66 <v-col
7+ class =" pa-0"
78 ref =" viewer"
8- style =" overflow : hidden ; position : relative ; z-index : 0 "
9- :style =" { height: viewerHeight }"
9+ style =" height : 100% ; overflow : hidden ; position : relative ; z-index : 0 "
1010 @click =" get_x_y"
1111 @keydown.esc =" viewerStore.toggle_picking_mode(false)"
1212 />
1515</template >
1616
1717<script setup>
18- const props = defineProps ({
19- height: {
20- type: String ,
21- default: " 100%" ,
22- },
23- })
24-
2518 const emit = defineEmits ([" click" ])
2619
2720 const container = useTemplateRef (" viewer" )
3023 const { windowWidth , windowHeight } = useWindowSize ()
3124 const { width , height } = useElementSize (container)
3225
33- const viewerHeight = computed (() => props .height )
34-
3526 const debouncedResize = debounce (() => {
3627 hybridViewerStore .resize (width .value , height .value )
3728 }, 100 )
You can’t perform that action at this time.
0 commit comments