Fine tuning text position

This commit is contained in:
Luis Fernando Molina committed 2019-05-14 12:28:49 +02:00
1 parent 6db14dfa1f
commit 4f469bc28f
1 file changed
+2 -1
+2 -1
View File
@@ -258,7 +258,7 @@ function newStrategyPart () {
}
labelPoint = {
x: position.x - label.length / 2 * fontSize * FONT_ASPECT_RATIO,
x: position.x - label.length / 2 * fontSize * FONT_ASPECT_RATIO - 5,
y: position.y + radius * 2 / 3 + fontSize * FONT_ASPECT_RATIO + 15
}
@@ -361,3 +361,4 @@ function newStrategyPart () {
}
}
}