mirror of
https://github.com/ppy/osu.git
synced 2025-03-04 05:22:54 +08:00
fix test
This commit is contained in:
parent
ac76af5cc8
commit
9459c66981
@ -130,7 +130,7 @@ namespace osu.Game.Tests.Visual.Editing
|
|||||||
OriginalSurroundingQuad = new Quad(targetContainer!.X, targetContainer.Y, targetContainer.Width, targetContainer.Height);
|
OriginalSurroundingQuad = new Quad(targetContainer!.X, targetContainer.Y, targetContainer.Width, targetContainer.Height);
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Update(Vector2 scale, Vector2? origin = null)
|
public override void Update(Vector2 scale, Vector2? origin = null, Axes adjustAxis = Axes.Both)
|
||||||
{
|
{
|
||||||
if (targetContainer == null)
|
if (targetContainer == null)
|
||||||
throw new InvalidOperationException($"Cannot {nameof(Update)} a scale operation without calling {nameof(Begin)} first!");
|
throw new InvalidOperationException($"Cannot {nameof(Update)} a scale operation without calling {nameof(Begin)} first!");
|
||||||
|
Loading…
Reference in New Issue
Block a user