Example #1
0
        public void StopScaling()
        {
            if (!isScaling)
            {
                return;
            }

            // Remove self as a modal input handler
            //InputManager.Instance.PopModalInputHandler();

            isScaling = false;
            StoppedScaling.RaiseEvent();
        }
Example #2
0
        /// <summary>
        /// Stops scaling the object.
        /// </summary>
        public void StopScaling()
        {
            if (!isScaling)
            {
                return;
            }

            // TODO : Make sure it pops the right input handler.
            // Remove self as a modal input handler.
            InputManager.Instance.PopModalInputHandler();

            isScaling = false;
            StoppedScaling.RaiseEvent();
        }
    void StopScaling()
    {
        if (!isScaling)
        {
            return;
        }

        // Remove self as a model input handler
        InputManager.Instance.PopModalInputHandler();

        isScaling            = false;
        currentInputSource   = null;
        currentInputSourceId = 0;

        StoppedScaling.RaiseEvent();
    }