Skip to content

Commit 4024e86

Browse files
committed
Fix type typo
1 parent e209d06 commit 4024e86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fidget.nim

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ proc image*(imageName: string) =
266266
## Sets image fill.
267267
current.imageName = imageName
268268

269-
proc orgBox*(x, y, w, h: int|float32|float32) =
269+
proc orgBox*(x, y, w, h: int|float32|float64) =
270270
## Sets the box dimensions of the original element for constraints.
271271
current.orgBox.x = float32 x
272272
current.orgBox.y = float32 y

0 commit comments

Comments
 (0)