mirror of
https://github.com/nasa/openmct.git
synced 2025-05-31 22:50:49 +00:00
[Mobile] Gestures
Slight clean up to MCTPinch.
This commit is contained in:
parent
3e2c3f913b
commit
24fe419be4
@ -48,9 +48,7 @@ define(
|
|||||||
return Math.sqrt(Math.pow(coordOne.clientX - coordTwo.clientX, 2) +
|
return Math.sqrt(Math.pow(coordOne.clientX - coordTwo.clientX, 2) +
|
||||||
Math.pow(coordOne.clientY - coordTwo.clientY, 2));
|
Math.pow(coordOne.clientY - coordTwo.clientY, 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// On touch start the 'touch' is tracked and
|
// On touch start the 'touch' is tracked and
|
||||||
// the event is emitted through scope
|
// the event is emitted through scope
|
||||||
function touchStart(event) {
|
function touchStart(event) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user