From 7ce275080af76dccd5520993eedfb6ffb235eed3 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Fri, 9 Oct 2020 09:50:07 +0200 Subject: [PATCH] Update UiObject.js --- FloatingSpace/UiObject.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/FloatingSpace/UiObject.js b/FloatingSpace/UiObject.js index 01a08ca54..bf765a301 100644 --- a/FloatingSpace/UiObject.js +++ b/FloatingSpace/UiObject.js @@ -1544,7 +1544,7 @@ function newUiObject() { if (thisObject.isOnFocus === true) { labelPoint = { x: position.x - label.length / 2 * fontSize * FONT_ASPECT_RATIO - 5, - y: position.y + radius * 2 / 3 + lineSeparator * 1 + 15 + y: position.y + radius * 2 / 3 + lineSeparator * 1+ 30 } } else { labelPoint = { @@ -1554,7 +1554,7 @@ function newUiObject() { } if (canvas.floatingSpace.inMapMode === true) { - labelPoint.y = position.y + 50 / 2 + lineSeparator * 1 + labelPoint.y = position.y + 50 / 2 + lineSeparator * 2 } browserCanvasContext.font = fontSize + 'px ' + UI_FONT.PRIMARY @@ -1623,7 +1623,7 @@ function newUiObject() { if (thisObject.isOnFocus === true) { labelPoint = { x: position.x - label.length / 2 * fontSize * FONT_ASPECT_RATIO - 5, - y: position.y + radius * 2 / 3 + lineSeparator * 5 + 15 + y: position.y + radius * 2 / 3 + lineSeparator * 6+ 30 } } else { labelPoint = { @@ -1698,7 +1698,7 @@ function newUiObject() { if (thisObject.isOnFocus === true) { labelPoint = { x: position.x - label.length / 2 * fontSize * FONT_ASPECT_RATIO - 10, - y: position.y + radius * 2 / 3 + lineSeparator * 3 + 15 + y: position.y + radius * 2 / 3 + lineSeparator * 4+ 30 } } else { labelPoint = { @@ -1751,7 +1751,7 @@ function newUiObject() { if (thisObject.isOnFocus === true) { labelPoint = { x: position.x - label.length / 2 * fontSize * FONT_ASPECT_RATIO - 5, - y: position.y + radius * 2 / 3 + lineSeparator * 4 + 15 + y: position.y + radius * 2 / 3 + lineSeparator * 5+ 30 } } else { labelPoint = { @@ -1802,7 +1802,7 @@ function newUiObject() { if (thisObject.isOnFocus === true) { labelPoint = { x: position.x - label.length / 2 * fontSize * FONT_ASPECT_RATIO - 10, - y: position.y + radius * 2 / 3 + lineSeparator * 2 + 15 + y: position.y + radius * 2 / 3 + lineSeparator * 3+ 30 } } else { labelPoint = {