Commit 765fa869c8d6d50cdbf754739687e0d448819bb8
1 parent
ef94694f
Exists in
master
and in
7 other branches
-
Showing
1 changed file
with
12 additions
and
3 deletions
Show diff stats
classesjs/classe_interface.js
@@ -1954,7 +1954,10 @@ i3GEO.Interface = { | @@ -1954,7 +1954,10 @@ i3GEO.Interface = { | ||
1954 | "movestart", | 1954 | "movestart", |
1955 | i3geoOL, | 1955 | i3geoOL, |
1956 | function(e) { | 1956 | function(e) { |
1957 | - alert("movestart") | 1957 | + //alert("movestart") |
1958 | + if(e.changedTouches){ | ||
1959 | + return; | ||
1960 | + } | ||
1958 | i3GEO.Interface.STATUS.pan = true; | 1961 | i3GEO.Interface.STATUS.pan = true; |
1959 | var xy; | 1962 | var xy; |
1960 | modoAtual = "move"; | 1963 | modoAtual = "move"; |
@@ -1966,7 +1969,10 @@ i3GEO.Interface = { | @@ -1966,7 +1969,10 @@ i3GEO.Interface = { | ||
1966 | "moveend", | 1969 | "moveend", |
1967 | i3geoOL, | 1970 | i3geoOL, |
1968 | function(e) { | 1971 | function(e) { |
1969 | - alert("moveend") | 1972 | + //alert("moveend") |
1973 | + if(e.changedTouches){ | ||
1974 | + return; | ||
1975 | + } | ||
1970 | var xy; | 1976 | var xy; |
1971 | modoAtual = ""; | 1977 | modoAtual = ""; |
1972 | i3GEO.Interface.openlayers.recalcPar(); | 1978 | i3GEO.Interface.openlayers.recalcPar(); |
@@ -1993,7 +1999,10 @@ i3GEO.Interface = { | @@ -1993,7 +1999,10 @@ i3GEO.Interface = { | ||
1993 | "mousemove", | 1999 | "mousemove", |
1994 | i3geoOL, | 2000 | i3geoOL, |
1995 | function(e) { | 2001 | function(e) { |
1996 | - alert("mousemove") | 2002 | + //alert("mousemove") |
2003 | + if(e.changedTouches){ | ||
2004 | + return; | ||
2005 | + } | ||
1997 | if (modoAtual === "move") { | 2006 | if (modoAtual === "move") { |
1998 | return; | 2007 | return; |
1999 | } | 2008 | } |