Skip to content

Commit

Permalink
style: Move text down slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
CaedenPH authored Aug 25, 2024
1 parent 14b1e90 commit 8a0fbd6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/routes/results.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,7 @@ export class ProcessResultsPage {
const resultsTableContainer = this.ui.createResultsTable(data.sleepData.fatigueLevel, data.cognitiveProcessingIndex, data.blockingRoundDuration, this.app.screen.height * 0.10);
this.app.stage.addChild(resultsTableContainer)

const textSummary = new Text(`Test summary
Test version: ${config.version}
const textSummary = new Text(`Test version: ${config.version}
Account ID: ...
Date/time: ${data._date}
Location: ${data.location.normalizedLocation}
Expand All @@ -241,15 +240,15 @@ export class ProcessResultsPage {
wordWrapWidth: this.app.screen.width * 0.8
});
textSummary.position.set(this.app.screen.width * 0.5,
this.app.screen.height * 0.35);
this.app.screen.height * 0.4);

textSummary.anchor.set(0.5);
this.app.stage.addChild(textSummary);

const backButtonContainer = this.ui.createButton(
"Go back",
this.app.screen.width * 0.5,
this.app.screen.height * 0.9,
this.app.screen.height * 0.92,
this.app.screen.width * 0.6,
this.app.screen.height * 0.2
);
Expand All @@ -263,7 +262,7 @@ export class ProcessResultsPage {
}

const graphSprite = new Sprite(this.resultsGraphTexture);
graphSprite.position.set(this.app.screen.width * 0.5, this.app.screen.height * 0.65)
graphSprite.position.set(this.app.screen.width * 0.5, this.app.screen.height * 0.7)
graphSprite.scale.set(0.5);
graphSprite.anchor.set(0.5, 0.5)

Expand Down

0 comments on commit 8a0fbd6

Please sign in to comment.