Skip to content

Commit f3f8951

Browse files
committed
Indicate that oneFrame makes sense only when it's =true
1 parent d56fe82 commit f3f8951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/sprite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ local sprite = Sprite(width, height, colorMode)
88
local sprite = Sprite(spec)
99
local sprite = Sprite(otherSprite)
1010
local sprite = Sprite{ fromFile=string }
11-
local sprite = Sprite{ fromFile=string, oneFrame=boolean }
11+
local sprite = Sprite{ fromFile=string, oneFrame=true }
1212
```
1313

1414
Creates a new sprite with the given `width` and `height`. The

0 commit comments

Comments
 (0)