Skip to content

Commit

Permalink
Fix type typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alt-tosc committed Dec 5, 2020
1 parent 2da884d commit 03fdbaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fidget.nim
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ proc image*(imageName: string) =
## Sets image fill.
current.imageName = imageName

proc orgBox*(x, y, w, h: int|float32|float32) =
proc orgBox*(x, y, w, h: int|float32|float64) =
## Sets the box dimensions of the original element for constraints.
current.orgBox.x = float32 x
current.orgBox.y = float32 y
Expand Down

0 comments on commit 03fdbaa

Please sign in to comment.