mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:23:22 +08:00
Rename and improve xmldoc of SkinEditorOverlay
This commit is contained in:
parent
64b244d0ba
commit
f3b305bbe6
@ -688,7 +688,7 @@ namespace osu.Game
|
|||||||
var changelogOverlay = loadComponentSingleFile(new ChangelogOverlay(), overlayContent.Add, true);
|
var changelogOverlay = loadComponentSingleFile(new ChangelogOverlay(), overlayContent.Add, true);
|
||||||
loadComponentSingleFile(userProfile = new UserProfileOverlay(), overlayContent.Add, true);
|
loadComponentSingleFile(userProfile = new UserProfileOverlay(), overlayContent.Add, true);
|
||||||
loadComponentSingleFile(beatmapSetOverlay = new BeatmapSetOverlay(), overlayContent.Add, true);
|
loadComponentSingleFile(beatmapSetOverlay = new BeatmapSetOverlay(), overlayContent.Add, true);
|
||||||
loadComponentSingleFile(skinEditor = new SkinEditorContainer(screenContainer), overlayContent.Add);
|
loadComponentSingleFile(skinEditor = new SkinEditorOverlay(screenContainer), overlayContent.Add);
|
||||||
|
|
||||||
loadComponentSingleFile(new LoginOverlay
|
loadComponentSingleFile(new LoginOverlay
|
||||||
{
|
{
|
||||||
@ -946,7 +946,7 @@ namespace osu.Game
|
|||||||
|
|
||||||
private ScalingContainer screenContainer;
|
private ScalingContainer screenContainer;
|
||||||
|
|
||||||
private SkinEditorContainer skinEditor;
|
private SkinEditorOverlay skinEditor;
|
||||||
|
|
||||||
protected override bool OnExiting()
|
protected override bool OnExiting()
|
||||||
{
|
{
|
||||||
|
@ -13,9 +13,10 @@ using osu.Game.Input.Bindings;
|
|||||||
namespace osu.Game.Skinning.Editor
|
namespace osu.Game.Skinning.Editor
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A container which handles loading a skin editor on user request.
|
/// A container which handles loading a skin editor on user request for a specified target.
|
||||||
|
/// This also handles the scaling / positioning adjustment of the target.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class SkinEditorContainer : CompositeDrawable, IKeyBindingHandler<GlobalAction>
|
public class SkinEditorOverlay : CompositeDrawable, IKeyBindingHandler<GlobalAction>
|
||||||
{
|
{
|
||||||
private readonly ScalingContainer target;
|
private readonly ScalingContainer target;
|
||||||
private SkinEditor skinEditor;
|
private SkinEditor skinEditor;
|
||||||
@ -25,7 +26,7 @@ namespace osu.Game.Skinning.Editor
|
|||||||
[Resolved]
|
[Resolved]
|
||||||
private OsuColour colours { get; set; }
|
private OsuColour colours { get; set; }
|
||||||
|
|
||||||
public SkinEditorContainer(ScalingContainer target)
|
public SkinEditorOverlay(ScalingContainer target)
|
||||||
{
|
{
|
||||||
this.target = target;
|
this.target = target;
|
||||||
RelativeSizeAxes = Axes.Both;
|
RelativeSizeAxes = Axes.Both;
|
Loading…
Reference in New Issue
Block a user