summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-20 12:10:18 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-20 12:10:18 +0100
commit6d15948c68f1f0bcf150d33f5c956c152912b9d2 (patch)
tree85986445a6cbce6b7968ac89c4968c23d5f539f3
parent6f2c0140f04ff515798cc81edfcf8c49681b75fb (diff)
parent296b8f299a1653abcaf194f154c26af07581b000 (diff)
Merge pull request #71718 from Calinou/doc-custom-mouse-cursor-max-size-web
Document image size restrictions for custom mouse cursors in HTML5
-rw-r--r--doc/classes/Input.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml
index a0d2d93a7d..6ecf903fde 100644
--- a/doc/classes/Input.xml
+++ b/doc/classes/Input.xml
@@ -297,6 +297,7 @@
[param hotspot] must be within [param image]'s size.
[b]Note:[/b] [AnimatedTexture]s aren't supported as custom mouse cursors. If using an [AnimatedTexture], only the first frame will be displayed.
[b]Note:[/b] Only images imported with the [b]Lossless[/b], [b]Lossy[/b] or [b]Uncompressed[/b] compression modes are supported. The [b]Video RAM[/b] compression mode can't be used for custom cursors.
+ [b]Note:[/b] On the web platform, the maximum allowed cursor image size is 128×128. Cursor images larger than 32×32 will also only be displayed if the mouse cursor image is entirely located within the page for [url=https://chromestatus.com/feature/5825971391299584]security reasons[/url].
</description>
</method>
<method name="set_default_cursor_shape">