Fix documentation of formspec sound style (#10913)

This commit is contained in:
Wuzzy 2021-02-04 20:43:12 +00:00 committed by GitHub
parent 2072afb72b
commit 8c19823aa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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. * 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 * padding - rect, adds space between the edges of the button and the content. This value is
relative to bgimg_middle. relative to bgimg_middle.
* sound - a sound to be played when clicked. * sound - a sound to be played when triggered.
* textcolor - color, default white. * textcolor - color, default white.
* checkbox * checkbox
* noclip - boolean, set to true to allow the element to exceed formspec bounds. * 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 * dropdown
* noclip - boolean, set to true to allow the element to exceed formspec bounds. * 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 * field, pwdfield, textarea
* border - set to false to hide the textbox background and border. Default true. * border - set to false to hide the textbox background and border. Default true.
* font - Sets font type. See button `font` property for more information. * 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. * fgimg_pressed - image when pressed. Defaults to fgimg when not provided.
* This is deprecated, use states instead. * This is deprecated, use states instead.
* NOTE: The parameters of any given image_button will take precedence over fgimg/fgimg_pressed * 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 * scrollbar
* noclip - boolean, set to true to allow the element to exceed formspec bounds. * noclip - boolean, set to true to allow the element to exceed formspec bounds.
* tabheader * tabheader
* noclip - boolean, set to true to allow the element to exceed formspec bounds. * 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. * textcolor - color. Default white.
* table, textlist * table, textlist
* font - Sets font type. See button `font` property for more information. * font - Sets font type. See button `font` property for more information.