Revision: 13092
          http://sourceforge.net/p/skim-app/code/13092
Author:   hofman
Date:     2022-10-18 23:29:24 +0000 (Tue, 18 Oct 2022)
Log Message:
-----------
use correct resize cursor when resiaing reading bar

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2022-10-18 16:30:03 UTC (rev 13091)
+++ trunk/SKPDFView.m   2022-10-18 23:29:24 UTC (rev 13092)
@@ -4592,7 +4592,10 @@
     PDFPage *page = [readingBar page];
     NSInteger firstLine = [readingBar currentLine];
     
-    [[NSCursor resizeUpDownCursor] push];
+    if (([page rotation] - [page lineDirectionAngle]) % 180)
+        [[NSCursor resizeUpDownCursor] push];
+    else
+        [[NSCursor resizeLeftRightCursor] push];
     
        while (YES) {
                

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



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to