Fix incorrect initial state of checkbox

This only ever barely used to work without the `(..., true)`
in `master` because of haphazard operation ordering.
This commit is contained in:
Bartłomiej Dach
2023-05-03 09:27:23 +02:00
parent 5f781bd6de
commit de1b28bcb2

View File

@ -106,7 +106,7 @@ namespace osu.Game.Graphics.UserInterface
text.Font = text.Font.With(weight: selected.NewValue ? FontWeight.Bold : FontWeight.Medium); text.Font = text.Font.With(weight: selected.NewValue ? FontWeight.Bold : FontWeight.Medium);
updateFade(); updateFade();
}); }, true);
} }
protected override bool OnHover(HoverEvent e) protected override bool OnHover(HoverEvent e)