1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-13 20:33:35 +08:00

Fix volume slider title text horizontal scaling on some languages (#36915)

closes #36892.

|master|This PR|
|---|---|

|![osu_2026-03-10_18-37-55](https://github.com/user-attachments/assets/15defef7-e1b8-485b-928b-886bb79215e2)|![osu_2026-03-10_18-43-40](https://github.com/user-attachments/assets/df4926f8-d960-45e2-ab98-1b455dc789b5)|
This commit is contained in:
MayoCollector
2026-03-11 02:27:03 +09:00
committed by GitHub
Unverified
parent 14743a14eb
commit 87b37fd386
+5
View File
@@ -215,6 +215,7 @@ namespace osu.Game.Overlays.Volume
new Container
{
Size = LABEL_SIZE,
AutoSizeAxes = Axes.X,
CornerRadius = 10,
Masking = true,
Margin = new MarginPadding { Left = CircleSize + 10 },
@@ -229,6 +230,10 @@ namespace osu.Game.Overlays.Volume
},
new OsuSpriteText
{
Margin = new MarginPadding
{
Horizontal = 32,
},
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Font = OsuFont.GetFont(weight: FontWeight.Bold),