diff options
author | Wuzzy <wuzzy2@mail.ru> | 2021-02-04 20:43:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-04 21:43:12 +0100 |
commit | 8c19823aa7206e6c73a4ad00620365552c82d241 (patch) | |
tree | c2e59288769ef2f06db927d0a5559dc285ad716f | |
parent | 2072afb72b4b3e9c5dcbcec71d824aeae1b35d19 (diff) | |
download | minetest-8c19823aa7206e6c73a4ad00620365552c82d241.tar.gz minetest-8c19823aa7206e6c73a4ad00620365552c82d241.tar.bz2 minetest-8c19823aa7206e6c73a4ad00620365552c82d241.zip |
Fix documentation of formspec sound style (#10913)
-rw-r--r-- | doc/lua_api.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 9c2a0f131..7b7825614 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2872,14 +2872,14 @@ Some types may inherit styles from parent types. * noclip - boolean, set to true to allow the element to exceed formspec bounds. * padding - rect, adds space between the edges of the button and the content. This value is relative to bgimg_middle. - * sound - a sound to be played when clicked. + * sound - a sound to be played when triggered. * textcolor - color, default white. * checkbox * noclip - boolean, set to true to allow the element to exceed formspec bounds. - * sound - a sound to be played when clicked. + * sound - a sound to be played when triggered. * dropdown * noclip - boolean, set to true to allow the element to exceed formspec bounds. - * sound - a sound to be played when clicked. + * sound - a sound to be played when the entry is changed. * field, pwdfield, textarea * border - set to false to hide the textbox background and border. Default true. * font - Sets font type. See button `font` property for more information. @@ -2910,12 +2910,12 @@ Some types may inherit styles from parent types. * fgimg_pressed - image when pressed. Defaults to fgimg when not provided. * This is deprecated, use states instead. * NOTE: The parameters of any given image_button will take precedence over fgimg/fgimg_pressed - * sound - a sound to be played when clicked. + * sound - a sound to be played when triggered. * scrollbar * noclip - boolean, set to true to allow the element to exceed formspec bounds. * tabheader * noclip - boolean, set to true to allow the element to exceed formspec bounds. - * sound - a sound to be played when clicked. + * sound - a sound to be played when a different tab is selected. * textcolor - color. Default white. * table, textlist * font - Sets font type. See button `font` property for more information. |