mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 03:52:54 +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 =>
|
Current.BindValueChanged(muted =>
|
||||||
{
|
{
|
||||||
icon.Icon = muted.NewValue ? FontAwesome.Solid.VolumeMute : FontAwesome.Solid.VolumeUp;
|
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 };
|
icon.Margin = new MarginPadding { Right = muted.NewValue ? 2 : 0 };
|
||||||
}, true);
|
}, true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user