Skip to content

Commit

Permalink
wayward space
Browse files Browse the repository at this point in the history
  • Loading branch information
konsumer committed Oct 12, 2024
1 parent f6eb6c2 commit 7e9ac2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cart/as/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ let y:u32 = 0
// called when the cart is loaded
export function load(): void {
console.log("Hello from assemblyscript")
const d = measure_text(0, " Hello from null0")
const d = measure_text(0, "Hello from null0")
console.log(`Text-size: ${d.width.toString()}x${d.height.toString()}`)
x = 160 - (d.width/2)
y = 120 - (d.height/2)
Expand Down

0 comments on commit 7e9ac2f

Please sign in to comment.