Author: jmorliaguet
Date: Sat Jan  7 14:56:18 2006
New Revision: 2179

Modified:
   cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
Log:

- the tooltip should fit inside the screen before being displayed.



Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
==============================================================================
--- cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js (original)
+++ cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Sat Jan  7 
14:56:18 2006
@@ -860,6 +860,7 @@
     var widget = this.widget;
     widget.style.top = Event.pointerY(e) + 20 + "px";
     widget.style.left = Event.pointerX(e) + "px";
+    Canvas.fitInsideScreen(widget);
 
     if (this.effect) {
       this.effect.stop();
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to