1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2024-10-27 20:34:29 +00:00

Fix watermark

This commit is contained in:
tobspr 2020-06-12 13:49:36 +02:00
parent c037f23921
commit 8c01cc23d0

View File

@ -29,7 +29,11 @@ export class HUDWatermark extends BaseHUDPart {
parameters.context.fillStyle = "#f77"; parameters.context.fillStyle = "#f77";
parameters.context.font = "bold " + this.root.app.getEffectiveUiScale() * 17 + "px GameFont"; parameters.context.font = "bold " + this.root.app.getEffectiveUiScale() * 17 + "px GameFont";
// parameters.context.textAlign = "center"; // parameters.context.textAlign = "center";
parameters.context.fillText(T.demoBanners.title, x, this.root.app.getEffectiveUiScale() * 27); parameters.context.fillText(
T.demoBanners.title.toUpperCase(),
x,
this.root.app.getEffectiveUiScale() * 27
);
parameters.context.font = "bold " + this.root.app.getEffectiveUiScale() * 12 + "px GameFont"; parameters.context.font = "bold " + this.root.app.getEffectiveUiScale() * 12 + "px GameFont";
// parameters.context.textAlign = "center"; // parameters.context.textAlign = "center";