mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 11:12:54 +08:00
Revert "Inherit VisibilityContainer
and make duration constant protected"
This reverts commit c58ef4230d
. Uhh, how did I push this..
This commit is contained in:
parent
b252485e1a
commit
485da47d89
@ -15,9 +15,9 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
/// Represents the base appearance for UI controls of the <see cref="SelectionBox"/>,
|
||||
/// such as scale handles, rotation handles, buttons, etc...
|
||||
/// </summary>
|
||||
public abstract class SelectionBoxControl : VisibilityContainer
|
||||
public abstract class SelectionBoxControl : CompositeDrawable
|
||||
{
|
||||
protected const double TRANSFORM_DURATION = 100;
|
||||
public const double TRANSFORM_DURATION = 100;
|
||||
|
||||
public event Action OperationStarted;
|
||||
public event Action OperationEnded;
|
||||
@ -90,10 +90,6 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
base.OnMouseUp(e);
|
||||
}
|
||||
|
||||
protected override void PopIn() => this.FadeIn(TRANSFORM_DURATION, Easing.OutQuint);
|
||||
|
||||
protected override void PopOut() => this.FadeOut(TRANSFORM_DURATION, Easing.OutQuint);
|
||||
|
||||
protected virtual void UpdateHoverState()
|
||||
{
|
||||
if (HandlingMouse)
|
||||
|
Loading…
Reference in New Issue
Block a user