mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Custom editor icon section's command wrong or out of date.
In the "*.gdextension" code block, the [Icon] tag does not work in 4.1.1.stable version, and it does not match the naming conventions of other tags. I test it, [icons] tag is worked well. In addition, I added a blank lines between the tag and the content to make it more consistent with other "*.gdextension" code block formatting. Update with capnm's suggestion. Thank you all for your attention and reply!
This commit is contained in:
@@ -442,8 +442,9 @@ For example:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
[Icon]
|
||||
GDExample = "res://icons/GDExample.svg"
|
||||
[icons]
|
||||
|
||||
GDExample = "res://icons/gd_example.svg"
|
||||
|
||||
The path should point to a 16 by 16 pixel SVG image. Read the guide for :ref:`creating icons <doc_editor_icons>`
|
||||
for more information.
|
||||
|
||||
Reference in New Issue
Block a user