Add UI edge padding setting (#11741)

* feat(ui): added edge padding support and translations

* Bundles: added uiEdgePadding translations

* add Jovinull in contributors

* refactor(ui): extract updateMargins and apply padding to longest axis

* refactor(settings): use Intc and call updateMargins directly
This commit is contained in:
Felipe Jovino
2026-03-17 20:15:09 -03:00
committed by GitHub
parent 29b54f0a93
commit 18c57bb9a3
6 changed files with 63 additions and 21 deletions

View File

@@ -1280,6 +1280,8 @@ setting.fpscap.none = None
setting.fpscap.text = {0} FPS
setting.uiscale.name = UI Scaling
setting.uiscale.description = Restart required to apply changes.
setting.uiEdgePadding.name = UI Edge Padding
setting.uiEdgePadding.description = Adds padding to the edges of the UI. Useful for displays with rounded corners or notches.
setting.swapdiagonal.name = Always Diagonal Placement
setting.screenshake.name = Screen Shake
setting.bloomintensity.name = Bloom Intensity