1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 07:22:54 +08:00

Trim whitespace

This commit is contained in:
Dan Balasescu 2018-11-19 18:05:21 +09:00 committed by GitHub
parent d1cbaa9612
commit d9b8d2d15c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ namespace osu.Game.Rulesets.Mania.Edit.Blueprints
else
{
Width = column.DrawWidth;
// Snap to the column
var parentPos = Parent.ToLocalSpace(column.ToScreenSpace(new Vector2(column.DrawWidth / 2, 0)));
SnappedMousePosition = new Vector2(parentPos.X, e.MousePosition.Y);