mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
use single line if-statement
This commit is contained in:
parent
262284d095
commit
316b11d08b
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user