* Calculates the time which should be waited until _spinValue function is called.
()
| 791 | * Calculates the time which should be waited until _spinValue function is called. |
| 792 | */ |
| 793 | _calcWaitTimeout() { |
| 794 | this._speed *= ACCELERATION; |
| 795 | this._waitTimeout = ((this._waitTimeout - this._speed) < MIN_WAIT_TIMEOUT ? MIN_WAIT_TIMEOUT : (this._waitTimeout - this._speed)); |
| 796 | return this._waitTimeout; |
| 797 | } |
| 798 | |
| 799 | /** |
| 800 | * Called when the increment or decrement button is pressed and held to set new value. |