( event )
| 672 | } |
| 673 | |
| 674 | function touchend( event ) { |
| 675 | |
| 676 | if ( scope.enabled === false ) return; |
| 677 | |
| 678 | switch ( event.touches.length ) { |
| 679 | |
| 680 | case 0: |
| 681 | _state = STATE.NONE; |
| 682 | break; |
| 683 | |
| 684 | case 1: |
| 685 | _state = STATE.TOUCH_ROTATE; |
| 686 | _moveCurr.copy( getMouseOnCircle( event.touches[ 0 ].pageX, event.touches[ 0 ].pageY ) ); |
| 687 | _movePrev.copy( _moveCurr ); |
| 688 | break; |
| 689 | |
| 690 | } |
| 691 | |
| 692 | scope.dispatchEvent( endEvent ); |
| 693 | |
| 694 | } |
| 695 | |
| 696 | function contextmenu( event ) { |
| 697 |
nothing calls this directly
no outgoing calls
no test coverage detected