Update offset factor

This commit is contained in:
normalid 2024-07-24 12:39:36 +08:00
parent e2beacb3dd
commit 56143de2c6
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@
using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
using osuTK;
namespace osu.Game.Skinning
{
@ -35,7 +36,7 @@ public LegacyKeyCounterDisplay()
// https://osu.ppy.sh/wiki/en/Skinning/Interface#input-overlay
// 24px away from the container, there're 4 counter in legacy, so divide by 4
// "inputoverlay-background.png" are 1.05x in-game. so *1.05f to the X coordinate
X = (24 / 4) * 1.05f,
X = (24 / 4) * 1f,
Anchor = Anchor.TopLeft,
Origin = Anchor.TopLeft,
Direction = FillDirection.Horizontal,