Clarify formspec style evaluation

This commit is contained in:
sfan5
2026-10-03 11:32:07 +02:00
parent 3e7d4d4e20
commit cda64ab057
+2 -1
View File
@@ -3749,7 +3749,7 @@ Elements
* `state` is a list of states separated by the `+` character.
* If a state is provided, the style will only take effect when the element is in that state.
* All provided states must be active for the style to apply.
* Note: this **must** be before the element is defined.
* Styles are evaluated in-order during parsing, so this definition will only apply to **following** elements.
* See [Styling Formspecs](#styling-formspecs).
@@ -3762,6 +3762,7 @@ Elements
* `state` is a list of states separated by the `+` character.
* If a state is provided, the style will only take effect when the element is in that state.
* All provided states must be active for the style to apply.
* Styles are evaluated in-order during parsing, so this definition will only apply to **following** elements.
* See [Styling Formspecs](#styling-formspecs).
### `set_focus[<name>;<force>]`