mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Adjust icon scale of play button.
This commit is contained in:
@ -48,7 +48,7 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
private const float progress_height = 10;
|
private const float progress_height = 10;
|
||||||
|
|
||||||
private const float bottom_black_area_height = 50;
|
private const float bottom_black_area_height = 55;
|
||||||
|
|
||||||
public MusicController()
|
public MusicController()
|
||||||
{
|
{
|
||||||
@ -144,7 +144,8 @@ namespace osu.Game.Overlays
|
|||||||
},
|
},
|
||||||
playButton = new Button
|
playButton = new Button
|
||||||
{
|
{
|
||||||
Scale = new Vector2(1.3f),
|
Scale = new Vector2(1.4f),
|
||||||
|
IconScale = new Vector2(1.4f),
|
||||||
Action = () =>
|
Action = () =>
|
||||||
{
|
{
|
||||||
if (current?.Track == null) return;
|
if (current?.Track == null) return;
|
||||||
@ -423,6 +424,12 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
private const float button_size = 30;
|
private const float button_size = 30;
|
||||||
|
|
||||||
|
public Vector2 IconScale
|
||||||
|
{
|
||||||
|
get { return icon.Scale; }
|
||||||
|
set { icon.Scale = value; }
|
||||||
|
}
|
||||||
|
|
||||||
public Button()
|
public Button()
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both;
|
AutoSizeAxes = Axes.Both;
|
||||||
|
Reference in New Issue
Block a user