Skip to content

Commit

Permalink
Update hello-tophat.md
Browse files Browse the repository at this point in the history
  • Loading branch information
skejeton authored Jul 11, 2024
1 parent 4e80aaf commit 53bae42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hello-tophat.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fn init*() {
window::setup("Hello tophat!", 600, 600)
window::onFrame.register({
canvas::drawText("Hello tophat!", { 1, 1 }, th.black, 2)
canvas::drawText("Hello tophat!", { 1, 1 }, th::black, 2)
})
}
```
Expand Down Expand Up @@ -66,7 +66,7 @@ code in the brackets will be called on every frame. This is you game's main
loop.

```umka
canvas::drawText("Hello tophat!", { 1, 1 }, th.black, 2)
canvas::drawText("Hello tophat!", { 1, 1 }, th::black, 2)
```

This function draws the text `Hello tophat!` at position `1, 1`, with black
Expand Down

0 comments on commit 53bae42

Please sign in to comment.