Revision: 12885 http://sourceforge.net/p/skim-app/code/12885 Author: hofman Date: 2022-05-05 21:49:52 +0000 (Thu, 05 May 2022) Log Message: ----------- Don't overlap topbarview over side bar scroll views on 10.13-
Modified Paths: -------------- trunk/LeftSideView.xib trunk/RightSideView.xib trunk/SKSideViewController.m trunk/SKTopBarView.m Modified: trunk/LeftSideView.xib =================================================================== --- trunk/LeftSideView.xib 2022-05-05 16:21:00 UTC (rev 12884) +++ trunk/LeftSideView.xib 2022-05-05 21:49:52 UTC (rev 12885) @@ -10,7 +10,7 @@ <connections> <outlet property="alternateButton" destination="93" id="178"/> <outlet property="button" destination="140" id="166"/> - <outlet property="currentView" destination="133" id="CrG-6T-tbm"/> + <outlet property="currentView" destination="142" id="168"/> <outlet property="findArrayController" destination="91" id="183"/> <outlet property="findTableView" destination="111" id="184"/> <outlet property="groupedFindArrayController" destination="97" id="181"/> @@ -29,7 +29,13 @@ <rect key="frame" x="0.0" y="0.0" width="200" height="400"/> <subviews> <customView translatesAutoresizingMaskIntoConstraints="NO" id="133"> - <rect key="frame" x="0.0" y="0.0" width="200" height="400"/> + <rect key="frame" x="0.0" y="0.0" width="200" height="364"/> + <subviews> + <customView fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="142"> + <rect key="frame" x="-1" y="-1" width="202" height="366"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + </customView> + </subviews> </customView> <customView translatesAutoresizingMaskIntoConstraints="NO" id="134" customClass="SKTopBarView"> <rect key="frame" x="0.0" y="364" width="200" height="36"/> @@ -89,11 +95,11 @@ </customView> </subviews> <constraints> - <constraint firstItem="133" firstAttribute="top" secondItem="85" secondAttribute="top" id="5g9-4X-vn7"/> <constraint firstAttribute="bottom" secondItem="133" secondAttribute="bottom" id="T6W-X1-XBt"/> <constraint firstAttribute="trailing" secondItem="133" secondAttribute="trailing" id="TOn-mO-lFR"/> <constraint firstItem="133" firstAttribute="leading" secondItem="85" secondAttribute="leading" id="b3U-uC-wKa"/> <constraint firstItem="134" firstAttribute="leading" secondItem="85" secondAttribute="leading" id="bJW-UQ-x3H"/> + <constraint firstItem="133" firstAttribute="top" secondItem="134" secondAttribute="bottom" id="bWR-sc-XNl"/> <constraint firstAttribute="trailing" secondItem="134" secondAttribute="trailing" id="sVN-Yz-bpb"/> <constraint firstItem="134" firstAttribute="top" secondItem="85" secondAttribute="top" id="whT-Z9-oOB"/> </constraints> @@ -100,9 +106,9 @@ <point key="canvasLocation" x="267" y="154"/> </customView> <scrollView focusRingType="none" autohidesScrollers="YES" horizontalLineScroll="34" horizontalPageScroll="10" verticalLineScroll="34" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="98"> - <rect key="frame" x="0.0" y="0.0" width="200" height="435"/> + <rect key="frame" x="0.0" y="0.0" width="200" height="399"/> <clipView key="contentView" drawsBackground="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Mfb-HY-gcR"> - <rect key="frame" x="1" y="1" width="198" height="433"/> + <rect key="frame" x="1" y="1" width="198" height="397"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <tableView focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="firstColumnOnly" selectionHighlightStyle="sourceList" columnReordering="NO" columnResizing="NO" multipleSelection="NO" emptySelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="32" viewBased="YES" id="101" customClass="SKTableView"> @@ -206,7 +212,6 @@ </subviews> <nil key="backgroundColor"/> </clipView> - <edgeInsets key="contentInsets" left="1" right="1" top="37" bottom="1"/> <scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" doubleValue="0.010101010101010102" horizontal="YES" id="99"> <rect key="frame" x="-100" y="-100" width="183" height="15"/> <autoresizingMask key="autoresizingMask"/> @@ -218,17 +223,14 @@ <point key="canvasLocation" x="267" y="154"/> </scrollView> <scrollView focusRingType="none" autohidesScrollers="YES" horizontalLineScroll="20" horizontalPageScroll="10" verticalLineScroll="20" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="116"> - <rect key="frame" x="0.0" y="0.0" width="200" height="365"/> + <rect key="frame" x="0.0" y="0.0" width="200" height="400"/> <clipView key="contentView" drawsBackground="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Hnd-hK-VAX"> - <rect key="frame" x="1" y="1" width="198" height="363"/> + <rect key="frame" x="1" y="1" width="198" height="398"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> - <outlineView focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="firstColumnOnly" selectionHighlightStyle="sourceList" columnReordering="NO" columnResizing="NO" multipleSelection="NO" emptySelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="20" viewBased="YES" indentationPerLevel="14" outlineTableColumn="121" id="119" customClass="SKOutlineView"> - <rect key="frame" x="0.0" y="0.0" width="198" height="327"/> + <outlineView focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="firstColumnOnly" selectionHighlightStyle="sourceList" columnReordering="NO" columnResizing="NO" multipleSelection="NO" emptySelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="20" viewBased="YES" indentationPerLevel="14" outlineTableColumn="121" translatesAutoresizingMaskIntoConstraints="NO" id="119" customClass="SKOutlineView"> + <rect key="frame" x="0.0" y="0.0" width="198" height="398"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> - <constraints> - <constraint firstAttribute="height" constant="327" placeholder="YES" id="824-r1-IXu"/> - </constraints> <size key="intercellSpacing" width="3" height="0.0"/> <color key="backgroundColor" name="_sourceListBackgroundColor" catalog="System" colorSpace="catalog"/> <color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/> @@ -320,7 +322,6 @@ </subviews> <nil key="backgroundColor"/> </clipView> - <edgeInsets key="contentInsets" left="1" right="1" top="37" bottom="1"/> <scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="117"> <rect key="frame" x="-100" y="-100" width="220" height="15"/> <autoresizingMask key="autoresizingMask"/> @@ -332,16 +333,16 @@ <point key="canvasLocation" x="267" y="154"/> </scrollView> <scrollView focusRingType="none" autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="107"> - <rect key="frame" x="0.0" y="0.0" width="200" height="441"/> + <rect key="frame" x="0.0" y="0.0" width="200" height="403"/> <clipView key="contentView" translatesAutoresizingMaskIntoConstraints="NO" id="VaG-cU-bQa"> - <rect key="frame" x="1" y="1" width="198" height="439"/> + <rect key="frame" x="1" y="1" width="198" height="401"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <tableView focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnReordering="NO" columnResizing="NO" autosaveColumns="NO" typeSelect="NO" headerView="108" viewBased="YES" id="111" customClass="SKTableView"> - <rect key="frame" x="0.0" y="0.0" width="198" height="378"/> + <rect key="frame" x="0.0" y="0.0" width="198" height="376"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <constraints> - <constraint firstAttribute="height" constant="375" placeholder="YES" id="sVF-ag-t03"/> + <constraint firstAttribute="height" constant="373" placeholder="YES" id="sVF-ag-t03"/> </constraints> <size key="intercellSpacing" width="3" height="2"/> <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/> @@ -360,7 +361,7 @@ <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/> <prototypeCellViews> <tableCellView id="rTN-Wm-aea"> - <rect key="frame" x="1" y="1" width="47" height="17"/> + <rect key="frame" x="11" y="1" width="47" height="17"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="5CV-AT-Wi3"> @@ -399,7 +400,7 @@ <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/> <prototypeCellViews> <tableCellView id="yHY-cQ-hrW"> - <rect key="frame" x="51" y="1" width="116" height="17"/> + <rect key="frame" x="61" y="1" width="116" height="17"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsExpansionToolTips="YES" translatesAutoresizingMaskIntoConstraints="NO" id="EK0-Iy-KhJ"> @@ -434,7 +435,6 @@ </tableView> </subviews> </clipView> - <edgeInsets key="contentInsets" left="1" right="1" top="37" bottom="1"/> <scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="109"> <rect key="frame" x="-100" y="-100" width="255" height="15"/> <autoresizingMask key="autoresizingMask"/> @@ -450,16 +450,16 @@ <point key="canvasLocation" x="139" y="154"/> </scrollView> <scrollView focusRingType="none" autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="124"> - <rect key="frame" x="0.0" y="0.0" width="200" height="441"/> + <rect key="frame" x="0.0" y="0.0" width="200" height="403"/> <clipView key="contentView" translatesAutoresizingMaskIntoConstraints="NO" id="CUc-Bz-YWJ"> - <rect key="frame" x="1" y="1" width="198" height="439"/> + <rect key="frame" x="1" y="1" width="198" height="401"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <tableView focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="firstColumnOnly" alternatingRowBackgroundColors="YES" columnReordering="NO" columnResizing="NO" autosaveColumns="NO" typeSelect="NO" headerView="125" viewBased="YES" id="128" customClass="SKTableView"> - <rect key="frame" x="0.0" y="0.0" width="198" height="378"/> + <rect key="frame" x="0.0" y="0.0" width="198" height="376"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <constraints> - <constraint firstAttribute="height" constant="375" placeholder="YES" id="ofM-KJ-8Cn"/> + <constraint firstAttribute="height" constant="373" placeholder="YES" id="ofM-KJ-8Cn"/> </constraints> <size key="intercellSpacing" width="3" height="2"/> <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/> @@ -475,7 +475,7 @@ <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/> <prototypeCellViews> <tableCellView id="9a8-cx-9oD" customClass="SKControlTableCellView"> - <rect key="frame" x="1" y="1" width="117" height="18"/> + <rect key="frame" x="11" y="1" width="117" height="18"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <levelIndicator horizontalCompressionResistancePriority="250" verticalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="zvD-nR-1Ml" customClass="SKLevelIndicator"> @@ -514,7 +514,7 @@ <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/> <prototypeCellViews> <tableCellView id="hdZ-O4-HlW"> - <rect key="frame" x="121" y="1" width="46" height="17"/> + <rect key="frame" x="131" y="1" width="46" height="17"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="6S7-C8-37w"> @@ -549,7 +549,6 @@ </tableView> </subviews> </clipView> - <edgeInsets key="contentInsets" left="1" right="1" top="37" bottom="1"/> <scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="126"> <rect key="frame" x="-100" y="-100" width="183" height="15"/> <autoresizingMask key="autoresizingMask"/> Modified: trunk/RightSideView.xib =================================================================== --- trunk/RightSideView.xib 2022-05-05 16:21:00 UTC (rev 12884) +++ trunk/RightSideView.xib 2022-05-05 21:49:52 UTC (rev 12885) @@ -9,7 +9,7 @@ <customObject id="-2" userLabel="File's Owner" customClass="SKRightSideViewController"> <connections> <outlet property="button" destination="23" id="49"/> - <outlet property="currentView" destination="18" id="Qci-3A-1Iz"/> + <outlet property="currentView" destination="26" id="51"/> <outlet property="noteArrayController" destination="7" id="57"/> <outlet property="noteOutlineView" destination="31" id="56"/> <outlet property="searchField" destination="22" id="54"/> @@ -25,7 +25,13 @@ <rect key="frame" x="0.0" y="0.0" width="200" height="400"/> <subviews> <customView translatesAutoresizingMaskIntoConstraints="NO" id="18"> - <rect key="frame" x="0.0" y="0.0" width="200" height="400"/> + <rect key="frame" x="0.0" y="0.0" width="200" height="364"/> + <subviews> + <customView fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="26"> + <rect key="frame" x="-1" y="-1" width="202" height="366"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + </customView> + </subviews> </customView> <customView translatesAutoresizingMaskIntoConstraints="NO" id="19" customClass="SKTopBarView"> <rect key="frame" x="0.0" y="364" width="200" height="36"/> @@ -66,20 +72,20 @@ </customView> </subviews> <constraints> - <constraint firstItem="18" firstAttribute="top" secondItem="4" secondAttribute="top" id="0rR-BM-FFP"/> <constraint firstItem="19" firstAttribute="leading" secondItem="4" secondAttribute="leading" id="7J9-lO-hZw"/> <constraint firstAttribute="trailing" secondItem="19" secondAttribute="trailing" id="BEj-lq-GIU"/> <constraint firstAttribute="bottom" secondItem="18" secondAttribute="bottom" id="axx-Ce-1p3"/> <constraint firstAttribute="trailing" secondItem="18" secondAttribute="trailing" id="biz-Fh-lBJ"/> <constraint firstItem="19" firstAttribute="top" secondItem="4" secondAttribute="top" id="nZP-UW-Kdn"/> + <constraint firstItem="18" firstAttribute="top" secondItem="19" secondAttribute="bottom" id="uTJ-hV-Es6"/> <constraint firstItem="18" firstAttribute="leading" secondItem="4" secondAttribute="leading" id="x49-Py-hHS"/> </constraints> <point key="canvasLocation" x="267" y="154"/> </customView> <scrollView focusRingType="none" autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="27" customClass="SKScrollView"> - <rect key="frame" x="0.0" y="0.0" width="200" height="439"/> + <rect key="frame" x="0.0" y="0.0" width="200" height="403"/> <clipView key="contentView" translatesAutoresizingMaskIntoConstraints="NO" id="3pL-FC-sTQ"> - <rect key="frame" x="1" y="1" width="198" height="437"/> + <rect key="frame" x="1" y="1" width="198" height="401"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <outlineView focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="firstColumnOnly" alternatingRowBackgroundColors="YES" typeSelect="NO" autosaveName="SKNoteOutlineView" headerView="28" viewBased="YES" floatsGroupRows="NO" indentationPerLevel="16" outlineTableColumn="35" id="31" customClass="SKNoteOutlineView"> @@ -105,7 +111,7 @@ <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/> <prototypeCellViews> <tableCellView id="ZGN-Pg-55C"> - <rect key="frame" x="1" y="1" width="93" height="15"/> + <rect key="frame" x="11" y="1" width="93" height="15"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <textField horizontalCompressionResistancePriority="250" verticalCompressionResistancePriority="250" preferredMaxLayoutWidth="122" translatesAutoresizingMaskIntoConstraints="NO" id="T6H-tX-biW"> @@ -132,7 +138,7 @@ </connections> </tableCellView> <customView identifier="row" translatesAutoresizingMaskIntoConstraints="NO" id="84k-Om-OZ4" customClass="SKNoteTableRowView"> - <rect key="frame" x="1" y="18" width="93" height="17"/> + <rect key="frame" x="11" y="18" width="93" height="17"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> </customView> </prototypeCellViews> @@ -145,7 +151,7 @@ <imageCell key="dataCell" refusesFirstResponder="YES" alignment="left" animates="YES" id="38" customClass="SKAnnotationTypeImageCell"/> <prototypeCellViews> <tableCellView id="dka-Zp-1o0"> - <rect key="frame" x="97" y="1" width="21" height="17"/> + <rect key="frame" x="107" y="1" width="21" height="17"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="250" verticalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="Wy1-6F-s9I" customClass="SKAnnotationTypeImageView"> @@ -219,7 +225,7 @@ </textFieldCell> <prototypeCellViews> <tableCellView id="rnK-rN-FoS"> - <rect key="frame" x="121" y="1" width="46" height="17"/> + <rect key="frame" x="131" y="1" width="46" height="17"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <textField horizontalCompressionResistancePriority="250" verticalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="iuK-OP-ap6"> @@ -332,7 +338,6 @@ </outlineView> </subviews> </clipView> - <edgeInsets key="contentInsets" left="1" right="1" top="37" bottom="1"/> <scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="29"> <rect key="frame" x="-100" y="-100" width="143" height="15"/> <autoresizingMask key="autoresizingMask"/> @@ -354,7 +359,7 @@ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <tableView focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="firstColumnOnly" columnReordering="NO" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="32" viewBased="YES" translatesAutoresizingMaskIntoConstraints="NO" id="13" customClass="SKTableView"> - <rect key="frame" x="0.0" y="0.0" width="198" height="362"/> + <rect key="frame" x="0.0" y="0.0" width="198" height="398"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <size key="intercellSpacing" width="3" height="2"/> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="calibratedWhite"/> @@ -369,7 +374,7 @@ <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/> <prototypeCellViews> <tableCellView id="xMx-nb-bLR"> - <rect key="frame" x="1" y="1" width="127" height="32"/> + <rect key="frame" x="11" y="1" width="127" height="32"/> <autoresizingMask key="autoresizingMask"/> <subviews> <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="250" verticalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="S6h-PX-WpE" customClass="SKThumbnailImageView"> @@ -405,7 +410,7 @@ <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/> <prototypeCellViews> <tableCellView id="EU8-lX-Lad"> - <rect key="frame" x="131" y="1" width="36" height="15"/> + <rect key="frame" x="141" y="1" width="36" height="15"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <textField horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="r6v-xw-N5B"> @@ -454,7 +459,6 @@ </subviews> <nil key="backgroundColor"/> </clipView> - <edgeInsets key="contentInsets" left="1" right="1" top="37" bottom="1"/> <scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="11"> <rect key="frame" x="-100" y="-100" width="183" height="15"/> <autoresizingMask key="autoresizingMask"/> Modified: trunk/SKSideViewController.m =================================================================== --- trunk/SKSideViewController.m 2022-05-05 16:21:00 UTC (rev 12884) +++ trunk/SKSideViewController.m 2022-05-05 21:49:52 UTC (rev 12885) @@ -66,6 +66,9 @@ [super viewDidLoad]; [topBar setHasSeparator:YES]; + + if (RUNNING_AFTER(10_13)) + [self setCurrentView:[currentView superview]]; } #pragma mark Accessors Modified: trunk/SKTopBarView.m =================================================================== --- trunk/SKTopBarView.m 2022-05-05 16:21:00 UTC (rev 12884) +++ trunk/SKTopBarView.m 2022-05-05 21:49:52 UTC (rev 12885) @@ -256,7 +256,7 @@ #pragma clang diagnostic pop [backgroundView setBlendingMode:NSVisualEffectBlendingModeBehindWindow]; } else { - [self setBackgroundColors:[NSArray arrayWithObjects:[NSColor windowBackgroundColor], nil]]; + [self setBackgroundColors:nil]; [self setAlternateBackgroundColors:nil]; } } 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