Skip to content

Commit

Permalink
style: Slight touch ups
Browse files Browse the repository at this point in the history
  • Loading branch information
CaedenPH committed Aug 22, 2024
1 parent 333447f commit 38d65ab
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/routes/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { ProcessResultsPage } from "./results";
import { v4 as uuidv4 } from "uuid";

/**
* Cogspeed game that handles button clicks,
* CogSpeed game that handles button clicks,
* Starting and stopping the game and rounds
*
* Note the order of the rounds is as follows:
Expand Down
3 changes: 1 addition & 2 deletions src/routes/results.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,7 @@ export class ProcessResultsPage {
Date/time: ${data._date}
Location: ${data.location.normalizedLocation}
Status: ${data.status}
Message: ${data.statusCode}
Blocking duration: ${data.blockingRoundDuration}`, {
Test duration: ${data.testDuration}s`, {
fontFamily: "Trebuchet",
fontSize: 18,
fill: 0xffffff,
Expand Down
6 changes: 3 additions & 3 deletions src/ui/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export class CogSpeedGraphicsHandler {
headerBoxSPF.lineStyle(2, 0xafafaf);
headerBoxSPF.drawRect(marginLeft, yPos, width, height);

const headerTextSPF = new Text("S-P-F Score", {fill: 0x00000, fontSize: 14})
const headerTextSPF = new Text("S-PF Score", {fill: 0x00000, fontSize: 14})
headerTextSPF.position.set(screenWidth * 0.135, yPos + 8);

const valueBoxSPF = new Graphics();
Expand All @@ -204,7 +204,7 @@ export class CogSpeedGraphicsHandler {
headerBoxCPI.lineStyle(2, 0xafafaf);
headerBoxCPI.drawRect(marginLeft + width, yPos, width, height);

const headerTextCPI = new Text("Cogspeed Score", {fill: 0x00000, fontSize: 14})
const headerTextCPI = new Text("CogSpeed Score", {fill: 0x00000, fontSize: 14})
headerTextCPI.position.set(screenWidth * 0.105 + width, yPos + 8);

const valueBoxCPI = new Graphics();
Expand All @@ -219,7 +219,7 @@ export class CogSpeedGraphicsHandler {
headerBoxBRD.lineStyle(2, 0xafafaf);
headerBoxBRD.drawRect(marginLeft + width * 2, yPos, width, height);

const headerTextBRD = new Text("BRD Duration", {fill: 0x00000, fontSize: 14})
const headerTextBRD = new Text("BRD", {fill: 0x00000, fontSize: 14})
headerTextBRD.position.set(screenWidth * 0.12 + width * 2, yPos + 8);

const valueBoxBRD = new Graphics();
Expand Down

0 comments on commit 38d65ab

Please sign in to comment.