mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Cleanup
This commit is contained in:
parent
5fa93f4a05
commit
e06fe7950b
@ -182,23 +182,6 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
AddAssert("Logo is tracking", () => trackingContainer.IsLogoTracking);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void SetFacadeSizeTest()
|
||||
{
|
||||
AddStep("Add tracking containers", addFacadeContainers);
|
||||
AddStep("Break stuff", () => { logoFacade.Size = new Vector2(0, 0); });
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void SetMultipleContainers()
|
||||
{
|
||||
LogoTrackingContainer newContainer = new LogoTrackingContainer();
|
||||
AddStep("Add tracking containers", addFacadeContainers);
|
||||
AddStep("Move facade to random position", startTrackingRandom);
|
||||
AddStep("Add logo to new container", () => newContainer.SetLogo(logo));
|
||||
AddStep("Break stuff", () => newContainer.Tracking = true);
|
||||
}
|
||||
|
||||
private void addFacadeContainers()
|
||||
{
|
||||
AddRange(new Drawable[]
|
||||
|
@ -2,7 +2,6 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System;
|
||||
using System.Reflection.Metadata.Ecma335;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.MathUtils;
|
||||
@ -133,8 +132,6 @@ namespace osu.Game.Graphics.Containers
|
||||
base.Dispose(isDisposing);
|
||||
}
|
||||
|
||||
private Vector2 size;
|
||||
|
||||
private class ExposedFacade : Facade
|
||||
{
|
||||
public void SetSize(Vector2 size)
|
||||
|
Loading…
Reference in New Issue
Block a user