Skip to content

Commit

Permalink
monospace for the time was ugly
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinShetty committed Feb 7, 2025
1 parent c9323f9 commit cbecd7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PixiApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ const PixiApp = forwardRef(({
const textStyle = new PIXI.TextStyle({
fontSize: 24,
fill: TEXT_COLOR,
fontFamily: "Courier New",
fontFamily: "Arial",
fontWeight: "bold",
stroke: {
color: BACKGROUND_COLOR,
Expand All @@ -384,7 +384,7 @@ const PixiApp = forwardRef(({
timestepTextRef.current = hudRef.current.addChild(
new PIXI.Text({style: textStyle})
);
timestepTextRef.current.position.set(10, 10);
timestepTextRef.current.position.set(width / 100, height / 100);
}
app.start();
}
Expand Down

0 comments on commit cbecd7a

Please sign in to comment.