diff --git a/src/components/widgets/DepthHUD.vue b/src/components/widgets/DepthHUD.vue index 299758be3..4b5892952 100644 --- a/src/components/widgets/DepthHUD.vue +++ b/src/components/widgets/DepthHUD.vue @@ -87,9 +87,9 @@ onMounted(() => { }) // Make canvas size follows window resizing -const { width: windowWidth, height: windowHeight } = useWindowSize() +const { height: windowHeight } = useWindowSize() const canvasSize = computed(() => ({ - width: widget.value.size.width * windowWidth.value, + width: 128, height: widget.value.size.height * windowHeight.value, }))