1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:37:28 +08:00

remove debug logs

This commit is contained in:
OliBomby 2024-01-20 13:26:08 +01:00
parent 6a57be0a50
commit fcaa5ec20e

View File

@ -5,7 +5,6 @@ using System;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Framework.Logging;
using osuTK;
using osuTK.Input;
@ -94,7 +93,6 @@ namespace osu.Game.Screens.Edit.Compose.Components
private Vector2 convertDragEventToScaleMultiplier(DragEvent e)
{
Vector2 scale = e.MousePosition - e.MouseDownPosition;
Logger.Log($"Raw scale {scale}");
adjustScaleFromAnchor(ref scale);
return Vector2.Divide(scale, scaleHandler!.OriginalSurroundingQuad!.Value.Size) + Vector2.One;
}
@ -116,7 +114,6 @@ namespace osu.Game.Screens.Edit.Compose.Components
? new Vector2(MathF.Max(rawScale.X, rawScale.Y))
: rawScale;
Logger.Log($"Raw scale adjusted {newScale}, origin {getOriginPosition()}");
scaleHandler!.Update(newScale, getOriginPosition());
}
}