1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 00:47:24 +08:00

Remove explicit RelativeSize setting.

This commit is contained in:
Dean Herbert 2017-04-18 18:10:01 +09:00
parent 784ca2300b
commit 66865c50ad
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49
3 changed files with 3 additions and 3 deletions

View File

@ -23,6 +23,7 @@ namespace osu.Desktop.VisualTests.Tests
Add(progress = new SongProgress
{
RelativeSizeAxes = Axes.X,
AudioClock = new StopwatchClock(true),
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,

View File

@ -57,7 +57,7 @@ namespace osu.Game.Rulesets.UI
Position = new Vector2(0, 30),
};
protected override SongProgress CreateProgress() => new SongProgress()
protected override SongProgress CreateProgress() => new SongProgress
{
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,

View File

@ -4,7 +4,6 @@
using OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Primitives;
using System;
using System.Collections.Generic;
using osu.Game.Graphics;
@ -13,6 +12,7 @@ using System.Linq;
using osu.Framework.Timing;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Objects.Types;
using osu.Framework.Graphics.Primitives;
namespace osu.Game.Screens.Play
{
@ -71,7 +71,6 @@ namespace osu.Game.Screens.Play
public SongProgress()
{
RelativeSizeAxes = Axes.X;
Height = progress_height + SongProgressGraph.Column.HEIGHT + handle_size.Y;
Y = progress_height;