1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 09:43:10 +08:00

Disable border display on skin editor to avoid crashes

This wasn't being displayed correctly anyway, so rather than fixing
let's just remove it for now.

Closes #12868.
This commit is contained in:
Dean Herbert 2021-05-20 02:01:25 +09:00
parent db6d980623
commit eb5db8ff03

View File

@ -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);