mirror of https://github.com/ppy/osu
Fix scale clamps undoing the intended 5% scaling minimum
This commit is contained in:
parent
57227b5aab
commit
f616c7b752
|
@ -208,7 +208,7 @@ private void updateMinMaxScale()
|
|||
if (!scaleHandler.OriginalSurroundingQuad.HasValue)
|
||||
return;
|
||||
|
||||
const float min_scale = 0.5f;
|
||||
const float min_scale = 0.05f;
|
||||
const float max_scale = 10;
|
||||
|
||||
var scale = scaleHandler.ClampScaleToPlayfieldBounds(new Vector2(max_scale), getOriginPosition(scaleInfo.Value), getAdjustAxis(scaleInfo.Value), getRotation(scaleInfo.Value));
|
||||
|
|
Loading…
Reference in New Issue