mirror of
https://github.com/nasa/openmct.git
synced 2025-04-18 16:17:48 +00:00
[Mobile] Comments
Added comments to the MCTPinch file.
This commit is contained in:
parent
7288db1908
commit
447ae3f20b
@ -426,12 +426,15 @@ define(
|
||||
$scope.$emit('user:viewport:change:end', $scope.viewport);
|
||||
}
|
||||
|
||||
// Receives the pinch to allow pinching/panning emitted by MCTPinch
|
||||
$scope.$on('mct:pinch:start', onPinchStart);
|
||||
$scope.$on('mct:pinch:change', onPinchChange);
|
||||
|
||||
// Receives the pan to allow panning emitted by MCTPinch
|
||||
$scope.$on('mct:pan:start', onPanStart);
|
||||
$scope.$on('mct:pan:change', onPanChange);
|
||||
|
||||
// Receives the end of the pan/pinch emitted by MCTPinch
|
||||
$scope.$on('mct:ptouch:end', onTouchEnd);
|
||||
|
||||
$scope.$on('$destroy', stopWatching);
|
||||
|
Loading…
x
Reference in New Issue
Block a user