Fix scale clamps undoing the intended 5% scaling minimum

This commit is contained in:
Bartłomiej Dach 2024-11-04 10:36:49 +01:00
parent 57227b5aab
commit f616c7b752
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

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