mirror of https://github.com/ppy/osu
Fix alignment of right half of legacy input drum
This commit is contained in:
parent
f804be25d1
commit
b4e1ad81d0
|
@ -65,7 +65,7 @@ private void load(ISkinSource skin)
|
|||
const float ratio = 1.6f;
|
||||
|
||||
// because the right half is flipped, we need to position using width - position to get the true "topleft" origin position
|
||||
float negativeScaleAdjust = Width / ratio;
|
||||
float negativeScaleAdjust = content.Width / ratio;
|
||||
|
||||
if (skin.GetConfig<LegacySkinConfiguration.LegacySetting, decimal>(LegacySkinConfiguration.LegacySetting.Version)?.Value >= 2.1m)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue