Author: tom
Date: Mon Dec 22 08:41:26 2008
New Revision: 3606

URL: http://svn.slimdevices.com?rev=3606&root=Jive&view=rev
Log:
pango:
- cleaned up where textarea does reDraw

Modified:
    7.4/branches/pango/squeezeplay/src/squeezeplay/share/jive/ui/Textarea.lua

Modified: 
7.4/branches/pango/squeezeplay/src/squeezeplay/share/jive/ui/Textarea.lua
URL: 
http://svn.slimdevices.com/7.4/branches/pango/squeezeplay/src/squeezeplay/share/jive/ui/Textarea.lua?rev=3606&root=Jive&r1=3605&r2=3606&view=diff
==============================================================================
--- 7.4/branches/pango/squeezeplay/src/squeezeplay/share/jive/ui/Textarea.lua 
(original)
+++ 7.4/branches/pango/squeezeplay/src/squeezeplay/share/jive/ui/Textarea.lua 
Mon Dec 22 08:41:26 2008
@@ -167,7 +167,8 @@
 function scrollBy(self, scroll)
        _assert(type(scroll) == "number")
     
-    self:scroll(scroll);
+    self:scroll(scroll)
+       self:reDraw()    
        --self:_scrollTo(self.topLine + scroll)
 end
 
@@ -220,8 +221,6 @@
         --reset origin
         self.dragOrigin.x, self.dragOrigin.y = mouseX, mouseY
         
-        self:reDraw();
-        
                return EVENT_CONSUME
                
        elseif type == EVENT_KEY_PRESS then

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins

Reply via email to