Revision: 4236 http://vexi.svn.sourceforge.net/vexi/?rev=4236&view=rev Author: clrg Date: 2011-09-21 23:27:54 +0000 (Wed, 21 Sep 2011) Log Message: ----------- Trivial tooltip change
Modified Paths: -------------- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/role/tooltipmanager.t trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/block.t trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/word.t Modified: trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/role/tooltipmanager.t =================================================================== --- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/role/tooltipmanager.t 2011-09-21 23:24:00 UTC (rev 4235) +++ trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/role/tooltipmanager.t 2011-09-21 23:27:54 UTC (rev 4236) @@ -1,4 +1,4 @@ -<!-- Copyright 2009 - see COPYING for details [LGPL] --> +<!-- Copyright 2011 - see COPYING for details [LGPL] --> <vexi xmlns:ui="vexi://ui" xmlns:meta="vexi://meta" xmlns="vexi" xmlns:role="org.vexi.lib.role"> @@ -13,7 +13,7 @@ var curTipReq = null; // the current tooltip request var newTipReq = false; // whether there's been a recent change in the tooltip request var recTipReq = false; // whether a recent tooltip request has been made - var tip = false; // 'thread in progress' boolean + var tip = false; // 'thread in progress' flag var model = {}; surface.tooltip ++= function() { return model; } @@ -77,12 +77,9 @@ $tooltip.surface_x = d.x; $tooltip.surface_y = d.y + curTipReq.height; var t = curTipReq.tooltip; - if ($tooltip[0]) { - $tooltip[0] = null; - } + $tooltip.clear(); if (typeof(t) == "box") { $tooltip[0] = t; - $tooltip.text = ""; } else { $tooltip.text = t; } Modified: trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/block.t =================================================================== --- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/block.t 2011-09-21 23:24:00 UTC (rev 4235) +++ trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/block.t 2011-09-21 23:27:54 UTC (rev 4236) @@ -1,4 +1,4 @@ -<!-- Copyright 2009 - see COPYING for details [LGPL] --> +<!-- Copyright 2011 - see COPYING for details [LGPL] --> <vexi xmlns:ui="vexi://ui" xmlns:meta="vexi://meta" xmlns="org.vexi.lib.text"> <meta:doc> Modified: trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/word.t =================================================================== --- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/word.t 2011-09-21 23:24:00 UTC (rev 4235) +++ trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/word.t 2011-09-21 23:27:54 UTC (rev 4236) @@ -1,4 +1,4 @@ -<!-- Copyright 2009 - see COPYING for details [LGPL] --> +<!-- Copyright 2011 - see COPYING for details [LGPL] --> <vexi xmlns:ui="vexi://ui" xmlns:meta="vexi://meta"> <meta:doc> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn