Skip to content

Commit

Permalink
Fix width of DepthHUD canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellehmkuhl authored and patrickelectric committed Sep 7, 2023
1 parent 5568d3f commit 6bd22ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/widgets/DepthHUD.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}))
Expand Down

0 comments on commit 6bd22ee

Please sign in to comment.