From 280577a3a8799749f704e60f278084dc8a200867 Mon Sep 17 00:00:00 2001 From: Chancy Kennedy Date: Thu, 14 Mar 2024 10:36:50 -0500 Subject: [PATCH] revert to int from float --- karax/kdom_impl.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/karax/kdom_impl.nim b/karax/kdom_impl.nim index ec4db55..b4a55e1 100644 --- a/karax/kdom_impl.nim +++ b/karax/kdom_impl.nim @@ -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