Skip to content

Commit b521234

Browse files
committed
test
1 parent f265764 commit b521234

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

cadastral.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def add_leg_labels(self, leg, orientation: str):
9696

9797
# Offset text above/below the line
9898
normals = line_normals((leg.from_.easting, leg.from_.northing), (leg.to.easting, leg.to.northing), orientation)
99-
offset_distance = self._get_drawing_extent() * 0.04
99+
offset_distance = self._get_drawing_extent() * 0.02
100100
offset_inside_x = (normals[0][0] / math.hypot(*normals[0])) * offset_distance
101101
offset_inside_y = (normals[0][1] / math.hypot(*normals[0])) * offset_distance
102102
offset_outside_x = (normals[1][0] / math.hypot(*normals[1])) * offset_distance

layout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ def _add_leg_labels(self, leg, orientation: str):
664664

665665
# Offset text above/below the line
666666
normals = line_normals((leg.from_.easting, leg.from_.northing), (leg.to.easting, leg.to.northing), orientation)
667-
offset_distance = self._get_drawing_extent() * 0.04
667+
offset_distance = self._get_drawing_extent() * 0.02
668668
offset_inside_x = (normals[0][0] / math.hypot(*normals[0])) * offset_distance
669669
offset_inside_y = (normals[0][1] / math.hypot(*normals[0])) * offset_distance
670670
offset_outside_x = (normals[1][0] / math.hypot(*normals[1])) * offset_distance

topographic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def add_leg_labels(self, leg, orientation: str):
137137

138138
# Offset text above/below the line
139139
normals = line_normals((leg.from_.easting, leg.from_.northing), (leg.to.easting, leg.to.northing), orientation)
140-
offset_distance = self._get_drawing_extent() * 0.04
140+
offset_distance = self._get_drawing_extent() * 0.02
141141
offset_inside_x = (normals[0][0] / math.hypot(*normals[0])) * offset_distance
142142
offset_inside_y = (normals[0][1] / math.hypot(*normals[0])) * offset_distance
143143
offset_outside_x = (normals[1][0] / math.hypot(*normals[1])) * offset_distance

0 commit comments

Comments
 (0)