equal
deleted
inserted
replaced
911 _this.gestureDelRequested = false; |
911 _this.gestureDelRequested = false; |
912 } |
912 } |
913 } |
913 } |
914 } |
914 } |
915 } |
915 } |
|
916 |
|
917 /* |
|
918 * Retourne vrai si la souris est sur la notification d'aide dans le mode d'interaction souris. |
|
919 * Est appelé dans les fichiers : |
|
920 * mosaic > onMouseMove. |
|
921 */ |
|
922 Mosaic.prototype.isOnHelpIcon = function(x, y) |
|
923 { |
|
924 var helpIcon = $('#helpIcon'); |
|
925 //S'il n'y a pas d'icone d'aide, on quitte. |
|
926 if(helpIcon.length <= 0) |
|
927 { |
|
928 return; |
|
929 } |
|
930 |
|
931 //Si la souris est sur l'icone, on retourne true. |
|
932 if(x > helpIcon.position().left && x < +helpIcon.position().left + helpIcon.width() && y > helpIcon.position().top && y < +helpIcon.position().top + helpIcon.height() + 2 * parseInt(helpIcon.css('margin'))) |
|
933 { |
|
934 return true; |
|
935 } |
|
936 |
|
937 return false; |
|
938 } |