Fix settings notice text class tinting everything with yellow

This commit is contained in:
Salman Ahmed
2021-08-14 20:14:21 +03:00
parent f43ab323ff
commit c8fb796660
3 changed files with 4 additions and 6 deletions

View File

@ -73,7 +73,7 @@ namespace osu.Game.Overlays.Settings
return;
// construct lazily for cases where the label is not needed (may be provided by the Control).
FlowContent.Add(warningText = new SettingsNoticeText { Margin = new MarginPadding { Bottom = 5 } });
FlowContent.Add(warningText = new SettingsNoticeText(colours) { Margin = new MarginPadding { Bottom = 5 } });
}
warningText.Alpha = hasValue ? 0 : 1;