You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2012/05/07 16:39:14 UTC

svn commit: r1335041 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ScrollPaneSkin.java

Author: smartini
Date: Mon May  7 14:39:13 2012
New Revision: 1335041

URL: http://svn.apache.org/viewvc?rev=1335041&view=rev
Log:
fix typo

Modified:
    pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ScrollPaneSkin.java

Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ScrollPaneSkin.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ScrollPaneSkin.java?rev=1335041&r1=1335040&r2=1335041&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ScrollPaneSkin.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ScrollPaneSkin.java Mon May  7 14:39:13 2012
@@ -366,7 +366,7 @@ public class ScrollPaneSkin extends Cont
 
         if (view != null) {
             // The scroll orientation is tied to whether the shift key was
-            // presssed while the mouse wheel was scrolled
+            // pressed while the mouse wheel was scrolled
             if (Keyboard.isPressed(Keyboard.Modifier.SHIFT)) {
                 // Treat the mouse wheel as a horizontal scroll event
                 int previousScrollLeft = scrollPane.getScrollLeft();
@@ -901,6 +901,7 @@ public class ScrollPaneSkin extends Cont
             ScrollPane scrollPane = (ScrollPane)getComponent();
             ApplicationContext.DisplayHost displayHost = scrollPane.getDisplay().getDisplayHost();
 
+            // TODO: verify if use non deprecated methods ...
             optimizeScrolling = (displayHost.getScale() == 1
                 && (DesktopApplicationContext.isActive()
                 || (displayHost.getPeer().canDetermineObscurity()