equal
deleted
inserted
replaced
422 this.mosaic.mustTakeOutHands = true; |
422 this.mosaic.mustTakeOutHands = true; |
423 |
423 |
424 //On affiche différentes aides en fonction de si on se trouve dans une vidéo ou non. |
424 //On affiche différentes aides en fonction de si on se trouve dans une vidéo ou non. |
425 if(this.mosaic.currentMode == 'SEARCH') |
425 if(this.mosaic.currentMode == 'SEARCH') |
426 { |
426 { |
427 this.mosaic.notifyHelp(false); |
427 // this.mosaic.notifyHelp(false); |
428 } |
428 } |
429 else if(this.mosaic.currentMode == 'FILTER') |
429 else if(this.mosaic.currentMode == 'FILTER') |
430 { |
430 { |
431 this.mosaic.notifyHelp(true); |
431 // this.mosaic.notifyHelp(true); |
432 } |
432 } |
433 foundGestures = ''; |
433 foundGestures = ''; |
434 |
434 |
435 //On enlève la recherche. |
435 //On enlève la recherche. |
436 this.mosaic.curvesGesturesFound = false; |
436 this.mosaic.curvesGesturesFound = false; |
450 } |
450 } |
451 } |
451 } |
452 //Si l'aide est déjà affichée, on l'enlève. |
452 //Si l'aide est déjà affichée, on l'enlève. |
453 else if(foundGestures.split(';').length != 1 && this.mosaic.helpDisplayed && !this.mosaic.mustTakeOutHands) |
453 else if(foundGestures.split(';').length != 1 && this.mosaic.helpDisplayed && !this.mosaic.mustTakeOutHands) |
454 { |
454 { |
455 this.mosaic.removeHelp(); |
455 // this.mosaic.removeHelp(); |
456 } |
456 } |
457 } |
457 } |
458 //Si on a un seul résultat. |
458 //Si on a un seul résultat. |
459 else |
459 else |
460 { |
460 { |