Merge pull request #107586 from adamscott/add-notice-calling-custom-cursor-every-frame-can-lead-to-cursor-flickering
[Web] Add notice about issues with setting custom cursor shape every frame
This commit is contained in:
commit
ae12dea1bb
1 changed files with 1 additions and 0 deletions
|
|
@ -724,6 +724,7 @@
|
|||
<description>
|
||||
Sets a custom mouse cursor image for the given [param shape]. This means the user's operating system and mouse cursor theme will no longer influence the mouse cursor's appearance.
|
||||
[param cursor] can be either a [Texture2D] or an [Image], and it should not be larger than 256×256 to display correctly. Optionally, [param hotspot] can be set to offset the image's position relative to the click point. By default, [param hotspot] is set to the top-left corner of the image. See also [method cursor_set_shape].
|
||||
[b]Note:[/b] On Web, calling this method every frame can cause the cursor to flicker.
|
||||
</description>
|
||||
</method>
|
||||
<method name="cursor_set_shape">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue