1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-29 07:29:53 +08:00

Merge pull request #12872 from peppy/disable-skin-editor-border

This commit is contained in:
Bartłomiej Dach
2021-05-19 22:42:38 +02:00
committed by GitHub
Unverified
@@ -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);