Document that item_image_button[] name is non-optional

This commit is contained in:
DS 2023-03-01 09:09:29 +01:00 committed by GitHub
parent d6be6682ec
commit 514bf3582c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -2726,6 +2726,7 @@ Elements
### `item_image_button[<X>,<Y>;<W>,<H>;<item name>;<name>;<label>]`
* `item name` is the registered name of an item/node
* `name` is non-optional and must be unique, or else tooltips are broken.
* The item description will be used as the tooltip. This can be overridden with
a tooltip element.