mirror of
https://github.com/luanti-org/luanti.git
synced 2026-10-11 22:09:57 +00:00
Clarify formspec style evaluation
This commit is contained in:
+2
-1
@@ -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>]`
|
||||
|
||||
Reference in New Issue
Block a user