Fix editor one-click icons not showing.

This commit is contained in:
Pāvels Nadtočajevs
2025-07-21 12:15:00 +03:00
parent 71a9948157
commit e407f55fbf
16 changed files with 56 additions and 23 deletions

View File

@ -149,7 +149,7 @@
</description>
</method>
<method name="_get_option_icon" qualifiers="virtual const">
<return type="ImageTexture" />
<return type="Texture2D" />
<param index="0" name="device" type="int" />
<description>
Returns the item icon for the specified [param device] in the one-click deploy menu. The icon should be 16×16 pixels, adjusted for the current editor scale (see [method EditorInterface.get_editor_scale]).