Commit fcdf22e99b5ee3e3fa5d30f1492a19a7df0d05ac

Authored by Edmar Moretti
1 parent 45e465fd

--no commit message

Showing 1 changed file with 7 additions and 4 deletions   Show diff stats
classesjs/classe_eventos.js
... ... @@ -73,6 +73,7 @@ objposicaocursor = {
73 73  
74 74 i3GEO.eventos =
75 75 {
  76 + CONTATOUCH : 0,
76 77 /**
77 78 * Variavel: SELECAO
78 79 *
... ... @@ -516,7 +517,6 @@ i3GEO.eventos =
516 517 * docMapa {DOM node} - objeto que será alvo da ativação dos cliques
517 518 */
518 519 ativa : function(docMapa) {
519   - var nt = 0;
520 520 if (typeof (console) !== 'undefined')
521 521 console.info("i3GEO.eventos.ativa()");
522 522  
... ... @@ -576,12 +576,15 @@ i3GEO.eventos =
576 576 i3GEO.eventos.mouseupMapa(exy);
577 577 };
578 578 docMapa.ontouchmove = function(exy) {
579   - nt++;
580   - console.info(a)
  579 + i3GEO.eventos.CONTATOUCH++;
  580 + console.info(i3GEO.eventos.CONTATOUCH)
581 581 i3GEO.eventos.cliquePerm.status = false;
582 582 };
583 583 docMapa.ontouchend = function(exy) {
584   - nt = 0;
  584 + i3GEO.eventos.CONTATOUCH = 0;
  585 + };
  586 + docMapa.ontouchcancel = function(exy) {
  587 + i3GEO.eventos.CONTATOUCH = 0;
585 588 };
586 589 },
587 590 /**
... ...