mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
use single line if-statement
This commit is contained in:
@ -205,10 +205,7 @@ namespace osu.Game.Overlays.Chat.Tabs
|
||||
box.FadeColour(BackgroundActive, TRANSITION_LENGTH, Easing.OutQuint);
|
||||
highlightBox.FadeIn(TRANSITION_LENGTH, Easing.OutQuint);
|
||||
|
||||
if (IsBoldWhenActive)
|
||||
{
|
||||
Text.Font = Text.Font.With(weight: FontWeight.Bold);
|
||||
}
|
||||
if (IsBoldWhenActive) Text.Font = Text.Font.With(weight: FontWeight.Bold);
|
||||
}
|
||||
|
||||
protected virtual void FadeInactive()
|
||||
|
Reference in New Issue
Block a user