From a74493651271609215e90b5f5dad9ea6b7c18ce5 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 20 Jan 2023 10:19:36 +0100 Subject: [PATCH] Document image size restrictions for custom mouse cursors in HTML5 (cherry picked from commit 296b8f299a1653abcaf194f154c26af07581b000) --- doc/classes/Input.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index 44aa8c428..708d9c863 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -300,6 +300,7 @@ [code]hotspot[/code] must be within [code]image[/code]'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].