mirror of
https://github.com/osukey/osukey.git
synced 2025-07-23 11:20:03 +09: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:
@ -65,8 +65,6 @@ namespace osu.Game.Skinning.Editor
|
|||||||
if (visibility.NewValue == Visibility.Visible)
|
if (visibility.NewValue == Visibility.Visible)
|
||||||
{
|
{
|
||||||
target.Masking = true;
|
target.Masking = true;
|
||||||
target.BorderThickness = 5;
|
|
||||||
target.BorderColour = colours.Yellow;
|
|
||||||
target.AllowScaling = false;
|
target.AllowScaling = false;
|
||||||
target.RelativePositionAxes = Axes.Both;
|
target.RelativePositionAxes = Axes.Both;
|
||||||
|
|
||||||
@ -75,7 +73,6 @@ namespace osu.Game.Skinning.Editor
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
target.BorderThickness = 0;
|
|
||||||
target.AllowScaling = true;
|
target.AllowScaling = true;
|
||||||
|
|
||||||
target.ScaleTo(1, SkinEditor.TRANSITION_DURATION, Easing.OutQuint).OnComplete(_ => target.Masking = false);
|
target.ScaleTo(1, SkinEditor.TRANSITION_DURATION, Easing.OutQuint).OnComplete(_ => target.Masking = false);
|
||||||
|
Reference in New Issue
Block a user