Skip to content

Commit

Permalink
fix BigInt conversion, xOffset/yOffset to int from int64 (#23404)
Browse files Browse the repository at this point in the history
Problem described here: karaxnim/karax#284

Co-authored-by: Chancy Kennedy <[email protected]>
  • Loading branch information
chancyk and Chancy Kennedy authored Mar 15, 2024
1 parent 7657a63 commit c2c0077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/js/dom.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1655,7 +1655,7 @@ proc item*(list: TouchList, i: int): Touch
proc clearData*(dt: DataTransfer, format: cstring)
proc getData*(dt: DataTransfer, format: cstring): cstring
proc setData*(dt: DataTransfer, format: cstring, data: cstring)
proc setDragImage*(dt: DataTransfer, img: Element, xOffset: int64, yOffset: int64)
proc setDragImage*(dt: DataTransfer, img: Element, xOffset: int, yOffset: int)

# DataTransferItem "methods"
proc getAsFile*(dti: DataTransferItem): File
Expand Down

0 comments on commit c2c0077

Please sign in to comment.