1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 08:05:18 +02:00

Restore proportional minimap scaling (#15022)

This commit is contained in:
grorp
2024-08-31 18:11:56 +02:00
committed by GitHub
parent 52376fd87a
commit 322a9c2f74
4 changed files with 25 additions and 7 deletions

View File

@@ -1809,6 +1809,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.