diff --git a/src/components/tools/BoundingRectangle.vue b/src/components/tools/BoundingRectangle.vue index 7f93eb950..5287b1238 100644 --- a/src/components/tools/BoundingRectangle.vue +++ b/src/components/tools/BoundingRectangle.vue @@ -46,7 +46,7 @@ const updateRectangle = () => { const [x, y] = vtkBoundingBox.getMinPoint(screenBounds); const [maxX, maxY] = vtkBoundingBox.getMaxPoint(screenBounds); // Plus 2 to account for the stroke width - const handleRadius = (ANNOTATION_TOOL_HANDLE_RADIUS + 2) / devicePixelRatio; + const handleRadius = ANNOTATION_TOOL_HANDLE_RADIUS + 2; const handleDiameter = 2 * handleRadius; rectangle.value = { x: x - handleRadius, diff --git a/src/components/tools/crosshairs/CrosshairSVG2D.vue b/src/components/tools/crosshairs/CrosshairSVG2D.vue index 121a154e5..04b99f557 100644 --- a/src/components/tools/crosshairs/CrosshairSVG2D.vue +++ b/src/components/tools/crosshairs/CrosshairSVG2D.vue @@ -109,7 +109,6 @@ export default defineComponent({ }); return { - devicePixelRatio, x: computed(() => position2D.value?.x), y: computed(() => position2D.value?.y), }; diff --git a/src/components/tools/polygon/PolygonSVG2D.vue b/src/components/tools/polygon/PolygonSVG2D.vue index 480af18c3..90541d108 100644 --- a/src/components/tools/polygon/PolygonSVG2D.vue +++ b/src/components/tools/polygon/PolygonSVG2D.vue @@ -1,6 +1,5 @@ @@ -34,7 +33,7 @@