1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00
This commit is contained in:
David Zhao 2019-04-05 15:06:37 +09:00
parent 5fa93f4a05
commit e06fe7950b
2 changed files with 0 additions and 20 deletions

View File

@ -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[]

View File

@ -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)