ShowMoreButton rework

This commit is contained in:
Andrei Zavatski
2020-07-28 00:43:06 +03:00
parent 1b5a23311e
commit 46d1de7fa7
2 changed files with 16 additions and 24 deletions

View File

@ -363,19 +363,6 @@ namespace osu.Game.Overlays.Comments
showMoreButton.IsLoading = loadRepliesButton.IsLoading = false;
}
private class ShowMoreButton : GetCommentRepliesButton
{
[BackgroundDependencyLoader]
private void load(OverlayColourProvider colourProvider)
{
Margin = new MarginPadding { Vertical = 10, Left = 80 };
IdleColour = colourProvider.Light2;
HoverColour = colourProvider.Light1;
}
protected override string GetText() => @"Show More";
}
private class ParentUsername : FillFlowContainer, IHasTooltip
{
public string TooltipText => getParentMessage();