mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:43:05 +08:00
Remove now unnecessary mask layer
This commit is contained in:
parent
9f730dd784
commit
48c1561676
@ -1,24 +0,0 @@
|
|||||||
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
||||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
||||||
|
|
||||||
using osu.Framework.Configuration;
|
|
||||||
using osu.Game.Screens.Edit.Screens.Compose.Layers;
|
|
||||||
using OpenTK;
|
|
||||||
|
|
||||||
namespace osu.Game.Rulesets.Mania.Edit.Layers
|
|
||||||
{
|
|
||||||
public class ManiaHitObjectMaskLayer : HitObjectMaskLayer
|
|
||||||
{
|
|
||||||
public readonly IBindable<bool> Inverted = new Bindable<bool>();
|
|
||||||
|
|
||||||
public ManiaHitObjectMaskLayer()
|
|
||||||
{
|
|
||||||
Inverted.ValueChanged += invertedChanged;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void invertedChanged(bool newValue)
|
|
||||||
{
|
|
||||||
Scale = new Vector2(1, newValue ? -1 : 1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user