mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Restore proportional minimap scaling (#15022)
This commit is contained in:
parent
f79a51c265
commit
ecf535ee83
4 changed files with 27 additions and 7 deletions
|
@ -1802,6 +1802,11 @@ Displays a minimap on the HUD.
|
|||
|
||||
* `size`: Size of the minimap to display. Minimap should be a square to avoid
|
||||
distortion.
|
||||
* Negative values represent percentages of the screen. If either `x` or `y`
|
||||
is specified as a percentage, the resulting pixel size will be used for
|
||||
both `x` and `y`. Example: On a 1920x1080 screen, `{x = 0, y = -25}` will
|
||||
result in a 270x270 minimap.
|
||||
* Negative values are supported starting with protocol version 45.
|
||||
* `alignment`: The alignment of the minimap.
|
||||
* `offset`: offset in pixels from position.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue