src/widgets/Tooltip.js
branchnew-model
changeset 882 61c384dda19e
parent 875 43629caa77bc
child 922 096c06aea8b5
--- a/src/widgets/Tooltip.js	Fri Apr 27 19:18:21 2012 +0200
+++ b/src/widgets/Tooltip.js	Thu May 03 17:52:52 2012 +0200
@@ -27,13 +27,13 @@
     } else {
         this.$.find(".Ldt-Tooltip-Color").hide();
     }
-    
+
     this.$.find(".Ldt-Tooltip-Text").html(text);
 
     this.$tip.show();
     this.$tip.css({
         "left" : Math.floor(x - this.$tip.outerWidth() / 2) + "px",
-        "top" : Math.floor(y - this.$tip.outerHeight() - 5) + "px"
+        "top" : Math.floor(y - this.$tip.outerHeight()) + "px"
     });
 };