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:
parent
d84d0310e0
commit
fa9a835eb5
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user