Revision: 7304
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7304&view=rev
Author:   hofman
Date:     2011-06-21 17:10:10 +0000 (Tue, 21 Jun 2011)

Log Message:
-----------
interchange checks for flipped views

Modified Paths:
--------------
    trunk/SKFindController.m

Modified: trunk/SKFindController.m
===================================================================
--- trunk/SKFindController.m    2011-06-21 17:05:37 UTC (rev 7303)
+++ trunk/SKFindController.m    2011-06-21 17:10:10 UTC (rev 7304)
@@ -134,9 +134,9 @@
         for (view in subviews) {
             if (view != findBar) {
                 if ([[findBar superview] isFlipped]) {
+                    if (NSMinY([view frame]) <= NSMaxY([findBar frame])) break;
+                } else {
                     if (NSMaxY([view frame]) >= NSMinY([findBar frame])) break;
-                } else {
-                    if (NSMinY([view frame]) <= NSMaxY([findBar frame])) break;
                 }
             }
         }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to