Skip to content

Commit

Permalink
Merge pull request #30482 from peppy/adjust-minimum-scale
Browse files Browse the repository at this point in the history
Allow scaling down to 5% in popover scale dialog
  • Loading branch information
bdach authored Nov 4, 2024
2 parents c4a02b7 + d0d28e5 commit 7d39765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osu.Game.Rulesets.Osu/Edit/PreciseScalePopover.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private void load(EditorBeatmap editorBeatmap)
{
Current = scaleInputBindable = new BindableNumber<float>
{
MinValue = 0.5f,
MinValue = 0.05f,
MaxValue = 2,
Precision = 0.001f,
Value = 1,
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 7d39765

Please sign in to comment.