mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Revert "Inherit VisibilityContainer
and make duration constant protected"
This reverts commit c58ef4230d
. Uhh, how did I push this..
This commit is contained in:
@ -15,9 +15,9 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
|||||||
/// Represents the base appearance for UI controls of the <see cref="SelectionBox"/>,
|
/// Represents the base appearance for UI controls of the <see cref="SelectionBox"/>,
|
||||||
/// such as scale handles, rotation handles, buttons, etc...
|
/// such as scale handles, rotation handles, buttons, etc...
|
||||||
/// </summary>
|
/// </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 OperationStarted;
|
||||||
public event Action OperationEnded;
|
public event Action OperationEnded;
|
||||||
@ -90,10 +90,6 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
|||||||
base.OnMouseUp(e);
|
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()
|
protected virtual void UpdateHoverState()
|
||||||
{
|
{
|
||||||
if (HandlingMouse)
|
if (HandlingMouse)
|
||||||
|
Reference in New Issue
Block a user