From 3836c8bce66ec25211d63f64215c2297f849abb8 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Fri, 1 Jun 2018 20:02:02 +0200 Subject: [PATCH] Cosmetic Adjustments --- ProductCard.js | 4 ++-- SplashScreen.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ProductCard.js b/ProductCard.js index 20340fbeb..2d191b8a4 100644 --- a/ProductCard.js +++ b/ProductCard.js @@ -354,7 +354,7 @@ if (thisObject.bot.profilePicture !== undefined) { let botImagePoint = { - x: thisObject.container.frame.width - 10 - botImageSize, + x: thisObject.container.frame.width - botImageSize / 2 - 40, y: thisObject.container.frame.height / 2 - botImageSize / 2 }; @@ -462,7 +462,7 @@ label = thisObject.bot.displayName; labelPoint = { - x: thisObject.container.frame.width - 10 - botImageSize - 5 + botImageSize / 2 - label.length / 2 * fontSize * FONT_ASPECT_RATIO, + x: thisObject.container.frame.width - 40 - label.length / 2 * fontSize * FONT_ASPECT_RATIO, y: thisObject.container.frame.height / 2 + devTeamImageSize / 2 + fontSize * FONT_ASPECT_RATIO + 5 }; diff --git a/SplashScreen.js b/SplashScreen.js index 1bc522238..7fb43aa72 100644 --- a/SplashScreen.js +++ b/SplashScreen.js @@ -72,7 +72,7 @@ function newSplashScreen() { let fontSize = 50; let labelPoint = { - x: thisObject.container.frame.width / 2 - label.length / 2 * fontSize * FONT_ASPECT_RATIO -30, + x: thisObject.container.frame.width / 2 - label.length / 2 * fontSize * FONT_ASPECT_RATIO, y: thisObject.container.frame.height / 2 + fontSize / 2 + fontSize * 0.1 + 200 }; @@ -85,7 +85,7 @@ function newSplashScreen() { browserCanvasContext.fill(); - browserCanvasContext.font = fontSize + 'px ' + UI_FONT.PRIMARY; + browserCanvasContext.font = fontSize + 'px ' + UI_FONT.SECONDARY; browserCanvasContext.fillStyle = 'rgba(200, 200, 200, ' + opacity + ')'; browserCanvasContext.fillText(label, labelPoint.x, labelPoint.y);