1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-04 05:22:54 +08:00
This commit is contained in:
OliBomby 2024-01-20 15:53:08 +01:00
parent ac76af5cc8
commit 9459c66981

View File

@ -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!");