diff options
author | Guilherme Felipe <guilhermefelipecgs@gmail.com> | 2018-09-03 09:21:13 -0300 |
---|---|---|
committer | Guilherme Felipe <guilhermefelipecgs@gmail.com> | 2018-09-03 09:57:07 -0300 |
commit | e5470cfa70121221fd9e51b085ec0dff259b5865 (patch) | |
tree | 90a2d139db048176d35de696620e5541305630ac /doc/classes | |
parent | 6ead00733aea5eb0003e70ffbf71997b9be2c8c4 (diff) |
Fix custom cursor hotspot
Cursor hotspot must be inside image on Linux. Adding validation for all
platforms for consistency.
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Input.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index a4346c1485..1eb74446c6 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -293,6 +293,8 @@ </argument> <description> Set a custom mouse cursor image, which is only visible inside the game window. The hotspot can also be specified. Passing [code]null[/code] to the image parameter resets to the system cursor. See enum [code]CURSOR_*[/code] for the list of shapes. + [code]image[/code]'s size must be lower than 256x256. + [code]hotspot[/code] must be within [code]image[/code]'s size. </description> </method> <method name="set_default_cursor_shape"> |