Skip to content

Commit 3b6577b

Browse files
committed
[qml] Shape/Viewer: Adjust maximum size constants for handle and font
1 parent badfa8a commit 3b6577b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

meshroom/ui/qml/Shapes/Viewer/Layers/BaseLayer.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Item {
5050

5151
// Helper function to get scaled handle size
5252
function getScaledHandleSize() {
53-
return Math.max(1.0, 8.0 * scaleRatio)
53+
return Math.max(0.5, 8.0 * scaleRatio)
5454
}
5555

5656
// Helper function to get scaled stroke width
@@ -65,6 +65,6 @@ Item {
6565

6666
// Helper function to get scaled font size
6767
function getScaledFontSize() {
68-
return Math.max(4.0, (baseLayer.properties.fontSize || 10.0) * baseLayer.scaleRatio)
68+
return Math.max(1.0, (baseLayer.properties.fontSize || 10.0) * baseLayer.scaleRatio)
6969
}
7070
}

0 commit comments

Comments
 (0)