mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 19:22:54 +08:00
Merge pull request #12872 from peppy/disable-skin-editor-border
This commit is contained in:
commit
b8c1ffdef3
@ -65,8 +65,6 @@ namespace osu.Game.Skinning.Editor
|
||||
if (visibility.NewValue == Visibility.Visible)
|
||||
{
|
||||
target.Masking = true;
|
||||
target.BorderThickness = 5;
|
||||
target.BorderColour = colours.Yellow;
|
||||
target.AllowScaling = false;
|
||||
target.RelativePositionAxes = Axes.Both;
|
||||
|
||||
@ -75,7 +73,6 @@ namespace osu.Game.Skinning.Editor
|
||||
}
|
||||
else
|
||||
{
|
||||
target.BorderThickness = 0;
|
||||
target.AllowScaling = true;
|
||||
|
||||
target.ScaleTo(1, SkinEditor.TRANSITION_DURATION, Easing.OutQuint).OnComplete(_ => target.Masking = false);
|
||||
|
Loading…
Reference in New Issue
Block a user