Fix alignment of right half of legacy input drum

This commit is contained in:
Dean Herbert 2020-04-23 13:48:08 +09:00
parent f804be25d1
commit b4e1ad81d0
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{