1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-21 06:12:55 +08:00

Make icon smaller

This commit is contained in:
Dean Herbert 2024-08-09 19:29:23 +09:00
parent d84d0310e0
commit fa9a835eb5
No known key found for this signature in database

View File

@ -71,7 +71,7 @@ namespace osu.Game.Overlays.Volume
Current.BindValueChanged(muted =>
{
icon.Icon = muted.NewValue ? FontAwesome.Solid.VolumeMute : FontAwesome.Solid.VolumeUp;
icon.Size = new Vector2(muted.NewValue ? 18 : 20);
icon.Size = new Vector2(muted.NewValue ? 12 : 16);
icon.Margin = new MarginPadding { Right = muted.NewValue ? 2 : 0 };
}, true);
}