Skip to content

Commit

Permalink
revert to int from float
Browse files Browse the repository at this point in the history
  • Loading branch information
Chancy Kennedy committed Mar 14, 2024
1 parent 6d0f459 commit 280577a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions karax/kdom_impl.nim
Original file line number Diff line number Diff line change
Expand Up @@ -869,10 +869,10 @@ type
Touch* = ref TouchObj
TouchObj {.importc.} = object of RootObj
identifier*: int
screenX*, screenY*, clientX*, clientY*, pageX*, pageY*: float
screenX*, screenY*, clientX*, clientY*, pageX*, pageY*: int
target*: Element
radiusX*, radiusY*: float
rotationAngle*: float
radiusX*, radiusY*: int
rotationAngle*: int
force*: float

# https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent
Expand Down

0 comments on commit 280577a

Please sign in to comment.