Revision: 12635
http://sourceforge.net/p/skim-app/code/12635
Author: hofman
Date: 2021-12-18 16:48:32 +0000 (Sat, 18 Dec 2021)
Log Message:
-----------
Fix action for RTL toolbar button
Modified Paths:
--------------
trunk/MainToolbar.xib
trunk/SKMainToolbarController.m
Modified: trunk/MainToolbar.xib
===================================================================
--- trunk/MainToolbar.xib 2021-12-17 17:55:27 UTC (rev 12634)
+++ trunk/MainToolbar.xib 2021-12-18 16:48:32 UTC (rev 12635)
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0"
toolsVersion="19162" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none"
useAutolayout="YES">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0"
toolsVersion="19455" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none"
useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
- <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin"
version="19162"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin"
version="19455"/>
<capability name="documents saved in the Xcode 8 format"
minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -637,7 +637,7 @@
</segments>
</segmentedCell>
<connections>
- <action selector="changePageBreaks:" target="-2"
id="MXV-gO-9af"/>
+ <action selector="changeDisplaysRTL:" target="-2"
id="FvW-TY-1f5"/>
</connections>
</segmentedControl>
<segmentedControl verticalHuggingPriority="750"
fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="RKf-GA-hdu">
Modified: trunk/SKMainToolbarController.m
===================================================================
--- trunk/SKMainToolbarController.m 2021-12-17 17:55:27 UTC (rev 12634)
+++ trunk/SKMainToolbarController.m 2021-12-18 16:48:32 UTC (rev 12635)
@@ -1236,8 +1236,7 @@
}
- (IBAction)changeDisplaysRTL:(id)sender {
- BOOL horizontally = [sender selectedTag] == 1;
- [mainController.pdfView setDisplaysRightToLeftAndRewind:horizontally];
+ [mainController.pdfView setDisplaysRightToLeftAndRewind:NO ==
[mainController.pdfView displaysRightToLeft]];
}
- (IBAction)changeBookMode:(id)sender {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit