Cosmetic Adjustments

This commit is contained in:
Luis Fernando Molina committed 2018-06-01 20:02:02 +02:00
1 parent 37a47cc43e
commit 3836c8bce6
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -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
};
+2 -2
View File
@@ -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);