equal
deleted
inserted
replaced
336 { |
336 { |
337 this.gestureDelRequested = false; |
337 this.gestureDelRequested = false; |
338 } |
338 } |
339 |
339 |
340 //Si l'aide est affichée, un clic la ferme. |
340 //Si l'aide est affichée, un clic la ferme. |
341 if(this.helpDisplayed && !this.isHelpIconZoomed && !this.isHelpIconZooming) |
341 if(this.helpDisplayed && !this.isHelpIconZoomed && !this.isHelpIconZooming && !this.isOnHelpArrow(this.mousePosX, this.mousePosY)) |
342 { |
342 { |
343 this.removeHelp(); |
343 this.removeHelp(); |
344 } |
344 } |
345 |
345 |
346 //Si les crédits sont affichés, un clic les ferme. |
346 //Si les crédits sont affichés, un clic les ferme. |
356 } |
356 } |
357 else if(this.isOnCreditsDownArrow(this.mousePosX, this.mousePosY)) |
357 else if(this.isOnCreditsDownArrow(this.mousePosX, this.mousePosY)) |
358 { |
358 { |
359 this.goToNextCreditsPage(); |
359 this.goToNextCreditsPage(); |
360 } |
360 } |
|
361 |
|
362 //Si l'aide est affichée et qu'on est sur une flèche, on change de page. |
|
363 if(this.isOnHelpUpArrow(this.mousePosX, this.mousePosY)) |
|
364 { |
|
365 this.goToPreviousHelpDetailsPage(); |
|
366 } |
|
367 else if(this.isOnHelpDownArrow(this.mousePosX, this.mousePosY)) |
|
368 { |
|
369 this.goToNextHelpDetailsPage(); |
|
370 } |
361 } |
371 } |