mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 12:33:01 +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);
|
box.FadeColour(BackgroundActive, TRANSITION_LENGTH, Easing.OutQuint);
|
||||||
highlightBox.FadeIn(TRANSITION_LENGTH, Easing.OutQuint);
|
highlightBox.FadeIn(TRANSITION_LENGTH, Easing.OutQuint);
|
||||||
|
|
||||||
if (IsBoldWhenActive)
|
if (IsBoldWhenActive) Text.Font = Text.Font.With(weight: FontWeight.Bold);
|
||||||
{
|
|
||||||
Text.Font = Text.Font.With(weight: FontWeight.Bold);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual void FadeInactive()
|
protected virtual void FadeInactive()
|
||||||
|
Loading…
Reference in New Issue
Block a user