1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-06 18:25:21 +01:00

Fix some indentation

This commit is contained in:
Bradley Pierce
2024-01-27 10:17:55 -05:00
parent e631b8f055
commit caee8eeff3
3 changed files with 11 additions and 11 deletions

View File

@@ -17,11 +17,11 @@ shown), the following controls are available:
* Press back: Pause menu * Press back: Pause menu
* Touch buttons: Press button * Touch buttons: Press button
* Buttons: * Buttons:
1. Upper-left corner: Chat 1. Upper-left corner: Chat
2. Lower-right corner: Jump 2. Lower-right corner: Jump
3. Lower-right corner: Crouch 3. Lower-right corner: Crouch
4. Lower-left corner (Joystick): Walk 4. Lower-left corner (Joystick): Walk
5. Lower-left corner: Display inventory 5. Lower-left corner: Display inventory
When a menu or inventory is displayed: When a menu or inventory is displayed:
* Double tap outside menu area / Press back: Close menu * Double tap outside menu area / Press back: Close menu

View File

@@ -561,8 +561,8 @@ Call these functions only at load time!
* Example: `write_json({10, {a = false}})`, returns `"[10, {\"a\": false}]"` * Example: `write_json({10, {a = false}})`, returns `"[10, {\"a\": false}]"`
> [!WARNING] > [!WARNING]
> JSON is more strict than the Lua table format. > JSON is more strict than the Lua table format.
> 1. You can only use strings and positive integers of at least one as keys. > 1. You can only use strings and positive integers of at least one as keys.
> 2. You cannot mix string and integer keys. This is due to the fact that JSON has > 2. You cannot mix string and integer keys. This is due to the fact that JSON has
> two distinct array and object values. > two distinct array and object values.
* `minetest.serialize(table)`: returns a string * `minetest.serialize(table)`: returns a string
* Convert a table containing tables, strings, numbers, booleans and `nil`s * Convert a table containing tables, strings, numbers, booleans and `nil`s

View File

@@ -3060,8 +3060,8 @@ background elements are drawn before all other elements.
* Show a dropdown field * Show a dropdown field
> [!NOTE] > [!NOTE]
> There are two different operation modes: > There are two different operation modes:
> 1. handle directly on change (only changed dropdown is submitted) > 1. handle directly on change (only changed dropdown is submitted)
> 2. read the value on pressing a button (all dropdown values are available) > 2. read the value on pressing a button (all dropdown values are available)
* `X` and `Y`: position of the dropdown * `X` and `Y`: position of the dropdown
* `W`: width of the dropdown. Height is automatically chosen with this syntax. * `W`: width of the dropdown. Height is automatically chosen with this syntax.
* Fieldname data is transferred to Lua * Fieldname data is transferred to Lua
@@ -3080,8 +3080,8 @@ background elements are drawn before all other elements.
> [!NOTE] > [!NOTE]
> There are two different operation modes: > There are two different operation modes:
> 1. handle directly on change (only changed dropdown is submitted) > 1. handle directly on change (only changed dropdown is submitted)
> 2. read the value on pressing a button (all dropdown values are available) > 2. read the value on pressing a button (all dropdown values are available)
* `X` and `Y`: position of the dropdown * `X` and `Y`: position of the dropdown
* `W` and `H`: width and height of the dropdown * `W` and `H`: width and height of the dropdown
* Fieldname data is transferred to Lua * Fieldname data is transferred to Lua