mirror of https://github.com/ppy/osu
Fix CI inspections
This commit is contained in:
parent
46e71e9ead
commit
4d1b1a4022
|
@ -8,7 +8,7 @@ namespace osu.Game.Overlays.News
|
||||||
{
|
{
|
||||||
public abstract class NewsContent : FillFlowContainer
|
public abstract class NewsContent : FillFlowContainer
|
||||||
{
|
{
|
||||||
public NewsContent()
|
protected NewsContent()
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X;
|
RelativeSizeAxes = Axes.X;
|
||||||
AutoSizeAxes = Axes.Y;
|
AutoSizeAxes = Axes.Y;
|
||||||
|
|
|
@ -15,6 +15,8 @@ namespace osu.Game.Overlays
|
||||||
public class NewsOverlay : FullscreenOverlay
|
public class NewsOverlay : FullscreenOverlay
|
||||||
{
|
{
|
||||||
private NewsHeader header;
|
private NewsHeader header;
|
||||||
|
|
||||||
|
//ReSharper disable NotAccessedField.Local
|
||||||
private Container<NewsContent> content;
|
private Container<NewsContent> content;
|
||||||
|
|
||||||
public readonly Bindable<string> Current = new Bindable<string>(null);
|
public readonly Bindable<string> Current = new Bindable<string>(null);
|
||||||
|
@ -39,11 +41,11 @@ private void load(OsuColour colours)
|
||||||
Direction = FillDirection.Vertical,
|
Direction = FillDirection.Vertical,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
header = new NewsHeader()
|
header = new NewsHeader
|
||||||
{
|
{
|
||||||
ShowFrontPage = ShowFrontPage
|
ShowFrontPage = ShowFrontPage
|
||||||
},
|
},
|
||||||
content = new Container<NewsContent>()
|
content = new Container<NewsContent>
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
AutoSizeAxes = Axes.Y,
|
AutoSizeAxes = Axes.Y,
|
||||||
|
|
Loading…
Reference in New Issue