You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2009/04/28 18:03:20 UTC

svn commit: r769444 - /incubator/pivot/trunk/wtk/src/pivot/wtk/skin/ScrollPaneSkin.java

Author: tvolkert
Date: Tue Apr 28 16:03:19 2009
New Revision: 769444

URL: http://svn.apache.org/viewvc?rev=769444&view=rev
Log:
Turned off optimized scrolling for now after another issue was discovered with it.

Modified:
    incubator/pivot/trunk/wtk/src/pivot/wtk/skin/ScrollPaneSkin.java

Modified: incubator/pivot/trunk/wtk/src/pivot/wtk/skin/ScrollPaneSkin.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/pivot/wtk/skin/ScrollPaneSkin.java?rev=769444&r1=769443&r2=769444&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/pivot/wtk/skin/ScrollPaneSkin.java (original)
+++ incubator/pivot/trunk/wtk/src/pivot/wtk/skin/ScrollPaneSkin.java Tue Apr 28 16:03:19 2009
@@ -808,12 +808,17 @@
     public void setBackgroundPaint(Paint backgroundPaint) {
         super.setBackgroundPaint(backgroundPaint);
 
+        // TODO Remove once the cause for the intermittent painting bugs has
+        // been identified
+        optimizeScrolling = false;
+        /*
         // TODO Remove check for Operating System once Apple fixes the
         // paint artifact issue with Graphics#copyArea
         String osName = System.getProperty("os.name");
         optimizeScrolling = (!osName.equals("Mac OS X") &&
             backgroundPaint instanceof Color &&
             backgroundPaint.getTransparency() == Transparency.OPAQUE);
+        */
     }
 
     public int getHorizontalIncrement() {