Nez.Portable/UI/Utils/TooltipManager.cs
/// <summary>
/// Called when tooltip is shown. Default implementation sets actions to animate showing.
/// </summary>
/// <returns>The action.</returns>
/// <param name="tooltip">Tooltip.</param>
Called when tooltip is shown. Default implementation sets actions to animate showing.
Called when tooltip is shown . Default implementation sets actions to animate showing .
protected void showAction(Tooltip tooltip)
        {
            var container = tooltip.getContainer();
            if (animations)
            {
                var actionTime = _time > 0 ? 0.3f : 0.15f;
                container.setTransform(true);
                container.setScale(0.5f);
                PropertyTweens.floatPropertyTo(container, "scaleX", 1, actionTime).setEaseType(EaseType.QuintIn)
                    .start();
                PropertyTweens.floatPropertyTo(container, "scaleY", 1, actionTime).setEaseType(EaseType.QuintIn)
                    .start();
            }
            else
            {
                container.setScale(1);
            }
        }
protected void showAction ( Tooltip tooltip ) { var container = tooltip . getContainer ( ) ; if ( animations ) { var actionTime = _time > 0 ? 0.3f : 0.15f ; container . setTransform ( true ) ; container . setScale ( 0.5f ) ; PropertyTweens . floatPropertyTo ( container , " " , 1 , actionTime ) . setEaseType ( EaseType . QuintIn ) . start ( ) ; PropertyTweens . floatPropertyTo ( container , " " , 1 , actionTime ) . setEaseType ( EaseType . QuintIn ) . start ( ) ; } else { container . setScale ( 1 ) ; } }
Called when tooltip is shown.
Called when tooltip is shown .
None
tooltip
Tooltip
None