mirror of https://github.com/ppy/osu
Clarify todo comment
This commit is contained in:
parent
25ea60cb92
commit
305c2e31cf
|
@ -283,7 +283,7 @@ private Vector2 getClampedScale(OsuHitObject[] hitObjects, Anchor reference, Vec
|
||||||
|
|
||||||
Quad selectionQuad = getSurroundingQuad(hitObjects);
|
Quad selectionQuad = getSurroundingQuad(hitObjects);
|
||||||
|
|
||||||
//todo: this is not always correct for selections involving sliders
|
//todo: this is not always correct for selections involving sliders. This approximation assumes each point is scaled independently, but sliderends move with the sliderhead.
|
||||||
Quad scaledQuad = new Quad(selectionQuad.TopLeft.X + xOffset, selectionQuad.TopLeft.Y + yOffset, selectionQuad.Width + scale.X, selectionQuad.Height + scale.Y);
|
Quad scaledQuad = new Quad(selectionQuad.TopLeft.X + xOffset, selectionQuad.TopLeft.Y + yOffset, selectionQuad.Width + scale.X, selectionQuad.Height + scale.Y);
|
||||||
|
|
||||||
//max Size -> playfield bounds
|
//max Size -> playfield bounds
|
||||||
|
|
Loading…
Reference in New Issue