Skip to content

Commit 69f33a7

Browse files
merge
1 parent 7e09dc1 commit 69f33a7

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

components/HybridRenderingView.vue

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
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
/>
@@ -15,13 +15,6 @@
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")
@@ -30,8 +23,6 @@
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)

0 commit comments

Comments
 (0)