mirror of
https://github.com/ppy/osu
synced 2024-12-13 10:28:17 +00:00
Move API and DO to fields
This commit is contained in:
parent
58d9509ce6
commit
ae0d62838b
@ -56,13 +56,19 @@ namespace osu.Game.Overlays.Comments
|
||||
private ChevronButton chevronButton;
|
||||
private DeletedCommentsCounter deletedCommentsCounter;
|
||||
|
||||
[Resolved]
|
||||
private DialogOverlay dialogOverlay { get; set; }
|
||||
|
||||
[Resolved]
|
||||
private IAPIProvider api { get; set; }
|
||||
|
||||
public DrawableComment(Comment comment)
|
||||
{
|
||||
Comment = comment;
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OverlayColourProvider colourProvider, IAPIProvider api, DialogOverlay dialogOverlay)
|
||||
private void load(OverlayColourProvider colourProvider)
|
||||
{
|
||||
LinkFlowContainer username;
|
||||
FillFlowContainer info;
|
||||
|
Loading…
Reference in New Issue
Block a user