mirror of
https://github.com/ppy/osu
synced 2025-02-27 08:01:45 +00:00
Fix alignment of right half of legacy input drum
This commit is contained in:
parent
f804be25d1
commit
b4e1ad81d0
@ -65,7 +65,7 @@ namespace osu.Game.Rulesets.Taiko.Skinning
|
|||||||
const float ratio = 1.6f;
|
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
|
// 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)
|
if (skin.GetConfig<LegacySkinConfiguration.LegacySetting, decimal>(LegacySkinConfiguration.LegacySetting.Version)?.Value >= 2.1m)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user