Author: remi
Date: 2008-08-15 13:32:30 +0200 (Fri, 15 Aug 2008)
New Revision: 1498

Modified:
   
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/ATTBlockViewer.java
Log:
* improved drawing speed

Modified: 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/ATTBlockViewer.java
===================================================================
--- 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/ATTBlockViewer.java
      2008-08-15 11:13:16 UTC (rev 1497)
+++ 
software_suite_v2/software/tools/attitunesStudio/trunk/src/com/tuxisalive/attitunes/visual/ATTBlockViewer.java
      2008-08-15 11:32:30 UTC (rev 1498)
@@ -502,7 +502,7 @@
                        if (scrollbarIsFocused)
                        {
                                /* Enabling the viewer refresh */
-                               refreshDelay = 0.05;
+                               refreshDelay = 0.5;
                                setRefreshFlag(true);
                                
                                x = event.getX() - scrollbar.lastClickedPoint.x;
@@ -1078,7 +1078,7 @@
                {
                        return;
                }
-               else if (newMaxTime == 0)
+               else if (newMaxTime < 10.)
                {
                        newMaxTime = 10.;
                }
@@ -1087,11 +1087,6 @@
                {
                        fullTimeLength = newMaxTime;
                        
-                       if (fullTimeLength < 10.)
-                       {
-                               fullTimeLength = 10.;
-                       }
-                       
                        if (currentPosition > fullTimeLength)
                        {
                                currentPosition = fullTimeLength;


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to