Nez.Portable/UI/Utils/TooltipManager.cs
/// <summary>
/// Called when tooltip is hidden. Default implementation sets actions to animate hiding and to remove the Element from the stage
/// when the actions are complete.
/// </summary>
/// <returns>The action.</returns>
/// <param name="tooltip">Tooltip.</param>
Called when tooltip is hidden. Default implementation sets actions to animate hiding and to remove the Element from the stage
when the actions are complete.
Called when tooltip is hidden . Default implementation sets actions to animate hiding and to remove the Element from the stage when the actions are complete .
protected void hideAction(Tooltip tooltip)
        {
            var container = tooltip.getContainer();
            if (animations)
            {
                PropertyTweens.floatPropertyTo(container, "scaleX", 0.2f, 0.2f).setEaseType(EaseType.QuintOut).start();
                PropertyTweens.floatPropertyTo(container, "scaleY", 0.2f, 0.2f).setEaseType(EaseType.QuintOut)
                    .setCompletionHandler(t => container.remove()).start();
            }
            else
            {
                container.remove();
            }
        }
protected void hideAction ( Tooltip tooltip ) { var container = tooltip . getContainer ( ) ; if ( animations ) { PropertyTweens . floatPropertyTo ( container , " " , 0.2f , 0.2f ) . setEaseType ( EaseType . QuintOut ) . start ( ) ; PropertyTweens . floatPropertyTo ( container , " " , 0.2f , 0.2f ) . setEaseType ( EaseType . QuintOut ) . setCompletionHandler ( t => container . remove ( ) ) . start ( ) ; } else { container . remove ( ) ; } }
Called when tooltip is hidden.
Called when tooltip is hidden .
None
tooltip
Tooltip
None