Refactor into some kind of sanity

This commit is contained in:
Dean Herbert
2020-01-03 15:01:42 +09:00
parent b80c421a29
commit e8567414c6
8 changed files with 86 additions and 100 deletions

View File

@ -84,7 +84,7 @@ namespace osu.Game.Overlays
RelativeSizeAxes = Axes.Both,
Colour = Color4.Gray,
},
CreateControl().With(control => control.Margin = new MarginPadding { Left = UserProfileOverlay.CONTENT_X_MARGIN })
CreateTabControl().With(control => control.Margin = new MarginPadding { Left = UserProfileOverlay.CONTENT_X_MARGIN })
}
},
CreateContent()
@ -99,6 +99,6 @@ namespace osu.Game.Overlays
protected abstract ScreenTitle CreateTitle();
protected abstract TabControl<string> CreateControl();
protected abstract TabControl<string> CreateTabControl();
}
}