Commit 765fa869c8d6d50cdbf754739687e0d448819bb8

Authored by Edmar Moretti
1 parent ef94694f

-

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