feat: automatically round numbers that are converted to points (#14604)

Fixes #14490
This commit is contained in:
Samuel Attard 2018-09-13 23:28:56 +10:00 committed by Charles Kerr
parent 7d7401987a
commit 73a1a8b3f0
2 changed files with 7 additions and 2 deletions

View file

@ -2,3 +2,7 @@
* `x` Number
* `y` Number
**Note:** Both `x` and `y` must be whole integers, when providing a point object
as input to an Electron API we will automatically round your `x` and `y` values
to the nearest whole integer.