positioning

This commit is contained in:
Luis Fernando Molina committed 2020-09-05 11:49:24 +02:00
1 parent 5c28229127
commit 3e68bea2f2
2 files changed
+2 -2

No files matched your search

@@ -3,7 +3,7 @@ function newTutorialFunctions() {
play: play
}
const HEIGHT = 800
const WIDTH = 600
const WIDTH = 500
const MARGIN = 300
return thisObject
+1 -1
View File
@@ -1603,7 +1603,7 @@ function newUiObject() {
labelPoint = {
x: position.x - label.length / 2 * fontSize * FONT_ASPECT_RATIO - 5,
y: position.y + radius * 2 / 5 + fontSize * FONT_ASPECT_RATIO + 25
y: position.y + radius * 2 / 5 + fontSize * FONT_ASPECT_RATIO + 10
}
browserCanvasContext.font = fontSize + 'px ' + UI_FONT.PRIMARY