front_idill/src/mosaic/js/zoomInteractions.js
changeset 93 417d4b573bc8
parent 79 9eff85166868
equal deleted inserted replaced
87:34afef0f9e18 93:417d4b573bc8
    23  * Est appelé dans le fichier :
    23  * Est appelé dans le fichier :
    24  * pointers > fonction pointersMosaicInteractions.
    24  * pointers > fonction pointersMosaicInteractions.
    25  */
    25  */
    26 Mosaic.prototype.preZoom = function(snapshot)
    26 Mosaic.prototype.preZoom = function(snapshot)
    27 {
    27 {
    28     if(this.currentMode == "NO-USER" || this.currentMode.indexOf("INCOMING") > -1 || snapshot == null || this.helpDisplayed || this.isMosaicFiltering || this.isSearchByCurvesOn || this.gestureDelRequested)
    28     if(this.currentMode == "NO-USER" || this.currentMode.indexOf("INCOMING") > -1 || snapshot == null || this.helpDisplayed || this.creditsDisplayed || this.isMosaicFiltering || this.isSearchByCurvesOn || this.gestureDelRequested)
    29     {
    29     {
    30         return;
    30         return;
    31     }
    31     }
    32     
    32     
    33     if(this.fullscreen)
    33     if(this.fullscreen)
   271 Mosaic.prototype.zoom = function()
   271 Mosaic.prototype.zoom = function()
   272 {
   272 {
   273     var _this = this;
   273     var _this = this;
   274     
   274     
   275     //Si la mosaïque est en pleine écran, pas la peine de zoomer.
   275     //Si la mosaïque est en pleine écran, pas la peine de zoomer.
   276     if(this.currentMode == "VIDEO" || this.currentMode == "SEARCH" || this.currentMode.indexOf("INCOMING") > -1 || this.helpDisplayed || this.isMosaicFiltering)
   276     if(this.currentMode == "VIDEO" || this.currentMode == "SEARCH" || this.currentMode.indexOf("INCOMING") > -1 || this.helpDisplayed || this.creditsDisplayed || this.isMosaicFiltering)
   277     {
   277     {
   278         return;
   278         return;
   279     }
   279     }
   280 	
   280 	
   281 	//Si on est en mode d'interaction souris, on enlève la bordure d'aide.
   281 	//Si on est en mode d'interaction souris, on enlève la bordure d'aide.