Fix incorrect margin/spacing handling

This commit is contained in:
Dean Herbert
2018-11-29 14:15:23 +09:00
parent 3d46ac7d35
commit d1c976880c
3 changed files with 12 additions and 12 deletions

View File

@ -183,6 +183,6 @@ namespace osu.Game.Rulesets.Mania.UI
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos)
// This probably shouldn't exist as is, but the columns in the stage are separated by a 1px border
=> DrawRectangle.Inflate(new Vector2(1, 0)).Contains(ToLocalSpace(screenSpacePos));
=> DrawRectangle.Inflate(new Vector2(ManiaStage.COLUMN_SPACING / 2, 0)).Contains(ToLocalSpace(screenSpacePos));
}
}