diff options
author | Damiano Galassi <[email protected]> | 2020-11-05 13:11:51 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2020-11-05 13:11:51 +0100 |
commit | ad851ea435ba0604fcf7af670dcb65406e263963 (patch) | |
tree | 10b592c66e189d007bd9c7bb9b5f726c843bb357 | |
parent | 2e76c7da8ab52e52e9e8a9ff6e885f10b263d9c0 (diff) |
MacGui: use rounder hud corner on macOS 11, improve first launch windows position.
-rw-r--r-- | macosx/Base.lproj/HBEncodingProgressHUDController.xib | 18 | ||||
-rw-r--r-- | macosx/Base.lproj/HBPictureViewController.xib | 16 | ||||
-rw-r--r-- | macosx/Base.lproj/HBPlayerHUDController.xib | 38 | ||||
-rw-r--r-- | macosx/Base.lproj/MainWindow.xib | 55 | ||||
-rw-r--r-- | macosx/Base.lproj/Queue.xib | 18 | ||||
-rw-r--r-- | macosx/HBHUDView.m | 10 |
6 files changed, 80 insertions, 75 deletions
diff --git a/macosx/Base.lproj/HBEncodingProgressHUDController.xib b/macosx/Base.lproj/HBEncodingProgressHUDController.xib index 00b50012c..04be8513e 100644 --- a/macosx/Base.lproj/HBEncodingProgressHUDController.xib +++ b/macosx/Base.lproj/HBEncodingProgressHUDController.xib @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14490.55" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> +<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> <dependencies> <deployment identifier="macosx"/> - <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14490.55"/> + <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17506"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <objects> @@ -15,15 +15,15 @@ </customObject> <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/> <customObject id="-3" userLabel="Application" customClass="NSObject"/> - <customView hidden="YES" id="Bz7-r6-NCQ" userLabel="Encoding Controls" customClass="HBHUDView"> - <rect key="frame" x="0.0" y="0.0" width="476" height="100"/> + <customView hidden="YES" misplaced="YES" id="Bz7-r6-NCQ" userLabel="Encoding Controls" customClass="HBHUDView"> + <rect key="frame" x="0.0" y="0.0" width="476" height="96"/> <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/> <subviews> <progressIndicator wantsLayer="YES" verticalHuggingPriority="750" maxValue="1" bezeled="NO" controlSize="small" style="bar" translatesAutoresizingMaskIntoConstraints="NO" id="oJT-Rc-VeH"> - <rect key="frame" x="17" y="27" width="381" height="12"/> + <rect key="frame" x="17" y="25" width="389" height="12"/> </progressIndicator> <button toolTip="Cancel Live Preview Encode" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="SEa-H6-T26"> - <rect key="frame" x="405" y="25" width="55" height="16"/> + <rect key="frame" x="412" y="23" width="49" height="16"/> <buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" controlSize="mini" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="Ha0-iE-RLa"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="miniSystem"/> @@ -36,7 +36,7 @@ Gw </connections> </button> <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="eKh-n7-BCx"> - <rect key="frame" x="15" y="60" width="446" height="14"/> + <rect key="frame" x="15" y="58" width="446" height="14"/> <textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="left" title="Preparing Preview" id="tM8-gj-kBo"> <font key="font" metaFont="smallSystemBold"/> <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/> @@ -47,8 +47,8 @@ Gw <constraints> <constraint firstItem="oJT-Rc-VeH" firstAttribute="top" secondItem="eKh-n7-BCx" secondAttribute="bottom" constant="21" id="1tD-Xt-RgM"/> <constraint firstItem="SEa-H6-T26" firstAttribute="leading" secondItem="oJT-Rc-VeH" secondAttribute="trailing" constant="8" id="DoU-pN-uGc"/> - <constraint firstItem="eKh-n7-BCx" firstAttribute="top" secondItem="Bz7-r6-NCQ" secondAttribute="top" constant="26" id="KxF-bd-h6J"/> - <constraint firstAttribute="bottom" secondItem="oJT-Rc-VeH" secondAttribute="bottom" constant="27" id="UPR-0y-JpX"/> + <constraint firstItem="eKh-n7-BCx" firstAttribute="top" secondItem="Bz7-r6-NCQ" secondAttribute="top" constant="24" id="KxF-bd-h6J"/> + <constraint firstAttribute="bottom" secondItem="oJT-Rc-VeH" secondAttribute="bottom" constant="25" id="UPR-0y-JpX"/> <constraint firstItem="oJT-Rc-VeH" firstAttribute="leading" secondItem="Bz7-r6-NCQ" secondAttribute="leading" constant="17" id="bYJ-7Y-SsV"/> <constraint firstAttribute="trailing" secondItem="SEa-H6-T26" secondAttribute="trailing" constant="17" id="umg-H6-82U"/> <constraint firstAttribute="trailing" secondItem="eKh-n7-BCx" secondAttribute="trailing" constant="17" id="yz5-nD-9lZ"/> diff --git a/macosx/Base.lproj/HBPictureViewController.xib b/macosx/Base.lproj/HBPictureViewController.xib index 884503eb4..f506306de 100644 --- a/macosx/Base.lproj/HBPictureViewController.xib +++ b/macosx/Base.lproj/HBPictureViewController.xib @@ -28,7 +28,7 @@ <stackView distribution="fill" orientation="horizontal" alignment="firstBaseline" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Uev-zj-FIR"> <rect key="frame" x="0.0" y="112" width="161" height="16"/> <subviews> - <textField horizontalHuggingPriority="752" verticalHuggingPriority="750" horizontalCompressionResistancePriority="752" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="0rN-RP-Om4"> + <textField horizontalHuggingPriority="752" verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="0rN-RP-Om4"> <rect key="frame" x="-2" y="1" width="56" height="14"/> <textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" title="Rotation:" id="vb2-DA-Pgr"> <font key="font" metaFont="smallSystem"/> @@ -104,7 +104,7 @@ <stackView distribution="fill" orientation="horizontal" alignment="firstBaseline" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ZkN-1w-lLe"> <rect key="frame" x="0.0" y="0.0" width="218" height="104"/> <subviews> - <textField horizontalHuggingPriority="753" verticalHuggingPriority="750" horizontalCompressionResistancePriority="753" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="Aea-Uc-JnZ"> + <textField horizontalHuggingPriority="753" verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="400" translatesAutoresizingMaskIntoConstraints="NO" id="Aea-Uc-JnZ"> <rect key="frame" x="-2" y="90" width="56" height="14"/> <textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" title="Cropping:" id="zsq-Le-41g"> <font key="font" metaFont="smallSystem"/> @@ -118,7 +118,7 @@ <stackView distribution="fill" orientation="vertical" alignment="leading" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="7Bc-mZ-CrZ"> <rect key="frame" x="60" y="0.0" width="158" height="104"/> <subviews> - <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Pvq-R5-nb1"> + <button toolTip="Automatic detects and removes black borders from the video." verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Pvq-R5-nb1"> <rect key="frame" x="-1" y="89.5" width="75" height="15"/> <buttonCell key="cell" type="radio" title="Automatic" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" inset="2" id="MF1-tQ-h6G"> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> @@ -133,7 +133,7 @@ <binding destination="-2" name="value" keyPath="self.picture.autocrop" id="dT5-bj-gI5"/> </connections> </button> - <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="D2o-1f-y4u"> + <button toolTip="Custom allows for manual settings." verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="D2o-1f-y4u"> <rect key="frame" x="-1" y="67.5" width="65" height="15"/> <buttonCell key="cell" type="radio" title="Custom:" bezelStyle="regularSquare" imagePosition="left" alignment="left" controlSize="small" inset="2" id="0Mh-nC-WXA"> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> @@ -1012,7 +1012,7 @@ Custom allows manually setting all parameters. Useful for correcting an incorrec <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/> </textFieldCell> - <accessibility description="Crop top"/> + <accessibility description="Pad top"/> <connections> <binding destination="-2" name="enabled2" keyPath="self.picture" previousBinding="G8T-un-iNV" id="dMy-dF-OgT"> <dictionary key="options"> @@ -1041,7 +1041,7 @@ Custom allows manually setting all parameters. Useful for correcting an incorrec <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/> </textFieldCell> - <accessibility description="Crop bottom"/> + <accessibility description="Pad bottom"/> <connections> <binding destination="-2" name="enabled2" keyPath="self.picture" previousBinding="wg5-IO-SPl" id="zn2-0d-8Hg"> <dictionary key="options"> @@ -1070,7 +1070,7 @@ Custom allows manually setting all parameters. Useful for correcting an incorrec <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/> </textFieldCell> - <accessibility description="Crop right"/> + <accessibility description="Pad right"/> <connections> <binding destination="-2" name="enabled2" keyPath="self.picture" previousBinding="Eev-Ta-QyS" id="XAB-2Q-0y9"> <dictionary key="options"> @@ -1121,7 +1121,7 @@ Custom allows manually setting all parameters. Useful for correcting an incorrec <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/> </textFieldCell> - <accessibility description="Crop left"/> + <accessibility description="Pad left"/> <connections> <binding destination="-2" name="enabled2" keyPath="self.picture" previousBinding="gqZ-hT-AOC" id="ikL-R1-v3s"> <dictionary key="options"> diff --git a/macosx/Base.lproj/HBPlayerHUDController.xib b/macosx/Base.lproj/HBPlayerHUDController.xib index eacc32c1c..c9dfabd10 100644 --- a/macosx/Base.lproj/HBPlayerHUDController.xib +++ b/macosx/Base.lproj/HBPlayerHUDController.xib @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14490.55" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> +<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> <dependencies> <deployment identifier="macosx"/> - <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14490.55"/> + <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17506"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <objects> @@ -20,11 +20,11 @@ <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/> <customObject id="-3" userLabel="Application" customClass="NSObject"/> <customView hidden="YES" id="xT7-Bx-eCV" userLabel="Playback Controls" customClass="HBHUDView"> - <rect key="frame" x="0.0" y="0.0" width="476" height="100"/> + <rect key="frame" x="0.0" y="0.0" width="476" height="96"/> <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/> <subviews> <slider toolTip="Drag to change timeline position." verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="lBp-JT-ehn"> - <rect key="frame" x="69" y="20" width="338" height="15"/> + <rect key="frame" x="67" y="13" width="342" height="20"/> <sliderCell key="cell" controlSize="small" continuous="YES" alignment="left" maxValue="100" tickMarkPosition="above" sliderType="linear" id="mMk-re-3u5"/> <accessibility description="Timeline"/> <connections> @@ -32,7 +32,7 @@ </connections> </slider> <button toolTip="Toggle Play/Pause" translatesAutoresizingMaskIntoConstraints="NO" id="mLA-ei-4sK"> - <rect key="frame" x="212" y="46" width="36" height="36"/> + <rect key="frame" x="212" y="42" width="36" height="36"/> <constraints> <constraint firstAttribute="height" constant="36" id="X8s-nz-Azm"/> <constraint firstAttribute="width" constant="36" id="mCt-hw-6Cl"/> @@ -47,7 +47,7 @@ </connections> </button> <button toolTip="Go To Beginning" translatesAutoresizingMaskIntoConstraints="NO" id="WuP-9l-8AN"> - <rect key="frame" x="170" y="51" width="32" height="26"/> + <rect key="frame" x="170" y="47" width="32" height="26"/> <constraints> <constraint firstAttribute="height" constant="26" id="LYj-zA-LDX"/> <constraint firstAttribute="width" constant="32" id="uKO-gw-ffy"/> @@ -62,7 +62,7 @@ </connections> </button> <button toolTip="Go To End" translatesAutoresizingMaskIntoConstraints="NO" id="CQ0-pk-SFk"> - <rect key="frame" x="258" y="51" width="32" height="26"/> + <rect key="frame" x="258" y="47" width="32" height="26"/> <constraints> <constraint firstAttribute="height" constant="26" id="QM8-Iv-2Dj"/> <constraint firstAttribute="width" constant="32" id="phm-QW-jOq"/> @@ -77,7 +77,7 @@ </connections> </button> <textField toolTip="Time remaining." verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="PVD-pq-1ZG"> - <rect key="frame" x="413" y="20" width="53" height="14"/> + <rect key="frame" x="413" y="16" width="53" height="14"/> <textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" title="00:00:00" id="6A0-9h-5UY"> <font key="font" metaFont="smallSystem"/> <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> @@ -86,7 +86,7 @@ <accessibility description="Time Remaining"/> </textField> <textField toolTip="Current timeline position." verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="uYx-2C-8et"> - <rect key="frame" x="10" y="20" width="53" height="14"/> + <rect key="frame" x="10" y="16" width="53" height="14"/> <textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="left" title="00:00:00" id="dGi-LK-P1E"> <font key="font" metaFont="smallSystem"/> <color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/> @@ -95,7 +95,7 @@ <accessibility description="Current Timeline Position"/> </textField> <slider toolTip="Drag to change volume." verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="gzA-no-jdv"> - <rect key="frame" x="34" y="57" width="65" height="15"/> + <rect key="frame" x="32" y="50" width="69" height="20"/> <constraints> <constraint firstAttribute="width" constant="65" id="bu2-Fj-XwN"/> </constraints> @@ -106,7 +106,7 @@ </connections> </slider> <button toolTip="Exit player and return to still image previews." translatesAutoresizingMaskIntoConstraints="NO" id="84p-08-fGK" userLabel="Stop Button"> - <rect key="frame" x="426" y="56" width="30" height="15"/> + <rect key="frame" x="436" y="50" width="20" height="20"/> <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="NSStopProgressFreestandingTemplate" imagePosition="overlaps" alignment="center" imageScaling="proportionallyDown" id="hWC-BU-ynp"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="system"/> @@ -117,7 +117,7 @@ </connections> </button> <button toolTip="Mute Volume" translatesAutoresizingMaskIntoConstraints="NO" id="euL-Tg-dmT"> - <rect key="frame" x="12" y="55" width="18" height="18"/> + <rect key="frame" x="12" y="51" width="18" height="18"/> <constraints> <constraint firstAttribute="width" constant="18" id="T8H-oI-ZPM"/> <constraint firstAttribute="height" constant="18" id="gbJ-wm-eO2"/> @@ -132,7 +132,7 @@ </connections> </button> <button toolTip="Full Volume" translatesAutoresizingMaskIntoConstraints="NO" id="Kiv-cL-wYI"> - <rect key="frame" x="103" y="55" width="18" height="18"/> + <rect key="frame" x="103" y="51" width="18" height="18"/> <constraints> <constraint firstAttribute="width" constant="18" id="BMZ-v1-tgu"/> <constraint firstAttribute="height" constant="18" id="kB7-1B-FDd"/> @@ -147,9 +147,9 @@ </connections> </button> <popUpButton toolTip="Enable or disable tracks." translatesAutoresizingMaskIntoConstraints="NO" id="Vj1-Za-AUV"> - <rect key="frame" x="335" y="53" width="74" height="20"/> + <rect key="frame" x="334" y="48" width="86" height="22"/> <constraints> - <constraint firstAttribute="width" constant="68" id="5FX-cP-Cps"/> + <constraint firstAttribute="width" constant="78" id="5FX-cP-Cps"/> </constraints> <popUpButtonCell key="cell" type="push" title="Tracks" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" tag="1" imageScaling="proportionallyDown" inset="2" pullsDown="YES" autoenablesItems="NO" altersStateOfSelectedItem="NO" id="uwd-kr-YUM"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> @@ -170,10 +170,9 @@ <constraint firstItem="mLA-ei-4sK" firstAttribute="centerY" secondItem="CQ0-pk-SFk" secondAttribute="centerY" id="5iK-al-YML"/> <constraint firstAttribute="trailing" secondItem="PVD-pq-1ZG" secondAttribute="trailing" constant="12" id="6dk-cb-v2e"/> <constraint firstItem="WuP-9l-8AN" firstAttribute="leading" secondItem="Kiv-cL-wYI" secondAttribute="trailing" constant="49" id="79A-5g-U7Q"/> - <constraint firstAttribute="bottom" secondItem="PVD-pq-1ZG" secondAttribute="bottom" constant="20" id="9cE-Nk-kcB"/> + <constraint firstAttribute="bottom" secondItem="PVD-pq-1ZG" secondAttribute="bottom" constant="16" id="9cE-Nk-kcB"/> <constraint firstItem="uYx-2C-8et" firstAttribute="leading" secondItem="xT7-Bx-eCV" secondAttribute="leading" constant="12" id="EmN-mc-qMr"/> <constraint firstItem="lBp-JT-ehn" firstAttribute="leading" secondItem="uYx-2C-8et" secondAttribute="trailing" constant="8" id="Grx-ac-rC2"/> - <constraint firstItem="84p-08-fGK" firstAttribute="firstBaseline" secondItem="Vj1-Za-AUV" secondAttribute="firstBaseline" id="H0w-KP-ye3"/> <constraint firstItem="euL-Tg-dmT" firstAttribute="centerY" secondItem="gzA-no-jdv" secondAttribute="centerY" id="HTx-V5-2xM"/> <constraint firstItem="euL-Tg-dmT" firstAttribute="top" secondItem="xT7-Bx-eCV" secondAttribute="top" constant="27" id="K07-g0-aA4"/> <constraint firstItem="Vj1-Za-AUV" firstAttribute="leading" secondItem="CQ0-pk-SFk" secondAttribute="trailing" constant="48" id="KlG-3j-Fev"/> @@ -186,9 +185,10 @@ <constraint firstItem="CQ0-pk-SFk" firstAttribute="centerY" secondItem="Vj1-Za-AUV" secondAttribute="centerY" id="fcb-yb-zym"/> <constraint firstItem="CQ0-pk-SFk" firstAttribute="leading" secondItem="mLA-ei-4sK" secondAttribute="trailing" constant="10" id="fnn-T8-f6u"/> <constraint firstItem="gzA-no-jdv" firstAttribute="centerY" secondItem="Kiv-cL-wYI" secondAttribute="centerY" id="ipl-TU-6il"/> - <constraint firstAttribute="bottom" secondItem="uYx-2C-8et" secondAttribute="bottom" constant="20" id="lVk-4b-i7C"/> + <constraint firstAttribute="bottom" secondItem="uYx-2C-8et" secondAttribute="bottom" constant="16" id="lVk-4b-i7C"/> <constraint firstItem="84p-08-fGK" firstAttribute="leading" secondItem="Vj1-Za-AUV" secondAttribute="trailing" constant="20" id="leh-vT-GXl"/> <constraint firstItem="Kiv-cL-wYI" firstAttribute="leading" secondItem="gzA-no-jdv" secondAttribute="trailing" constant="4" id="n5u-wZ-juV"/> + <constraint firstItem="84p-08-fGK" firstAttribute="centerY" secondItem="Vj1-Za-AUV" secondAttribute="centerY" id="pdv-6D-Oqe"/> <constraint firstItem="84p-08-fGK" firstAttribute="top" secondItem="xT7-Bx-eCV" secondAttribute="top" constant="29" id="skk-2D-f35"/> <constraint firstItem="gzA-no-jdv" firstAttribute="leading" secondItem="euL-Tg-dmT" secondAttribute="trailing" constant="4" id="vyV-Ai-ba8"/> <constraint firstItem="euL-Tg-dmT" firstAttribute="leading" secondItem="xT7-Bx-eCV" secondAttribute="leading" constant="12" id="z5G-Dw-ebP"/> @@ -197,7 +197,7 @@ </customView> </objects> <resources> - <image name="NSStopProgressFreestandingTemplate" width="14" height="14"/> + <image name="NSStopProgressFreestandingTemplate" width="15" height="15"/> <image name="NextTemplate" width="48" height="48"/> <image name="PlayTemplate" width="48" height="48"/> <image name="PrevTemplate" width="48" height="48"/> diff --git a/macosx/Base.lproj/MainWindow.xib b/macosx/Base.lproj/MainWindow.xib index 085af8c9c..ad45c3608 100644 --- a/macosx/Base.lproj/MainWindow.xib +++ b/macosx/Base.lproj/MainWindow.xib @@ -1,9 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17147" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> +<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> <dependencies> <deployment identifier="macosx"/> - <development version="11000" identifier="xcode"/> - <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17147"/> + <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17506"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <objects> @@ -40,21 +39,21 @@ <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/> <windowCollectionBehavior key="collectionBehavior" fullScreenPrimary="YES"/> <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/> - <rect key="contentRect" x="41" y="572" width="885" height="600"/> + <rect key="contentRect" x="81" y="385" width="885" height="600"/> <rect key="screenRect" x="0.0" y="0.0" width="1920" height="1055"/> <view key="contentView" id="2" customClass="HBFocusRingView"> <rect key="frame" x="0.0" y="0.0" width="885" height="600"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <tabView controlSize="small" translatesAutoresizingMaskIntoConstraints="NO" id="1474"> - <rect key="frame" x="13" y="87" width="859" height="411"/> + <rect key="frame" x="13" y="87" width="859" height="415"/> <constraints> <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="334" id="Jdl-tV-liS"/> </constraints> <tabViewItems> <tabViewItem label="Summary" identifier="" id="BA0-eg-2Ka"> <view key="view" id="BjX-E2-6tb"> - <rect key="frame" x="10" y="29" width="839" height="369"/> + <rect key="frame" x="10" y="29" width="839" height="373"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> </view> </tabViewItem> @@ -109,7 +108,7 @@ </connections> </textField> <textField horizontalHuggingPriority="1000" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="1540"> - <rect key="frame" x="18" y="539" width="33" height="14"/> + <rect key="frame" x="18" y="543" width="34" height="14"/> <textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="left" title="Title:" id="4907"> <font key="font" metaFont="smallSystemBold"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> @@ -120,7 +119,7 @@ </connections> </textField> <popUpButton toolTip="Source range selection. By default, all chapters are selected and the entire source is encoded." horizontalHuggingPriority="1000" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="5513"> - <rect key="frame" x="518" y="536" width="84" height="22"/> + <rect key="frame" x="517" y="537" width="86" height="22"/> <constraints> <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="78" id="Zs8-pX-H7V"/> </constraints> @@ -153,7 +152,7 @@ </connections> </textField> <textField horizontalHuggingPriority="1000" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="1553"> - <rect key="frame" x="754" y="539" width="57" height="14"/> + <rect key="frame" x="754" y="543" width="57" height="14"/> <textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="left" title="Duration:" id="4914"> <font key="font" metaFont="smallSystemBold"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> @@ -168,7 +167,7 @@ </connections> </textField> <textField toolTip="Duration of the selected source range in Hours:Minutes:Seconds." verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="1554"> - <rect key="frame" x="811" y="539" width="56" height="14"/> + <rect key="frame" x="811" y="543" width="56" height="14"/> <constraints> <constraint firstAttribute="width" constant="52" id="YAI-9M-gNt"/> </constraints> @@ -224,7 +223,7 @@ </connections> </textField> <textField hidden="YES" toolTip="First second to encode." verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="5491" userLabel="Time Start Encoding Field"> - <rect key="frame" x="607" y="537" width="58" height="19"/> + <rect key="frame" x="607" y="541" width="58" height="19"/> <textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" alignment="right" drawsBackground="YES" id="5492"> <font key="font" metaFont="message" size="11"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> @@ -247,7 +246,7 @@ </connections> </textField> <textField hidden="YES" toolTip="First frame to encode." verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="5521" userLabel="Frame Start Encoding Field"> - <rect key="frame" x="607" y="537" width="58" height="19"/> + <rect key="frame" x="607" y="541" width="58" height="19"/> <textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" alignment="right" drawsBackground="YES" id="5522"> <numberFormatter key="formatter" formatterBehavior="default10_4" usesGroupingSeparator="NO" minimumIntegerDigits="0" maximumIntegerDigits="42" id="Wpt-92-R1O"> <real key="minimum" value="0.0"/> @@ -272,7 +271,7 @@ </connections> </textField> <textField hidden="YES" toolTip="Last second to encode." verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="5493" userLabel="Time End Encoding Field"> - <rect key="frame" x="683" y="537" width="58" height="19"/> + <rect key="frame" x="683" y="541" width="58" height="19"/> <textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" alignment="left" drawsBackground="YES" id="5494"> <font key="font" metaFont="message" size="11"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> @@ -295,7 +294,7 @@ </connections> </textField> <textField hidden="YES" toolTip="Last frame to encode." verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="5523" userLabel="Frame End Encoding Field"> - <rect key="frame" x="683" y="537" width="58" height="19"/> + <rect key="frame" x="683" y="541" width="58" height="19"/> <textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" alignment="left" drawsBackground="YES" id="5524"> <numberFormatter key="formatter" formatterBehavior="default10_4" usesGroupingSeparator="NO" minimumIntegerDigits="0" maximumIntegerDigits="42" id="WrK-kN-ZN0"> <real key="minimum" value="0.0"/> @@ -320,7 +319,7 @@ </connections> </textField> <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="1627"> - <rect key="frame" x="18" y="508" width="45" height="14"/> + <rect key="frame" x="18" y="513" width="45" height="14"/> <textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="left" title="Preset:" id="4923"> <font key="font" metaFont="smallSystemBold"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> @@ -331,7 +330,7 @@ </connections> </textField> <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="1628"> - <rect key="frame" x="470" y="514" width="395" height="5"/> + <rect key="frame" x="470" y="518" width="395" height="5"/> </box> <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="3205"> <rect key="frame" x="127" y="575" width="738" height="5"/> @@ -346,7 +345,7 @@ </constraints> </progressIndicator> <textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="5505"> - <rect key="frame" x="667" y="539" width="14" height="14"/> + <rect key="frame" x="667" y="543" width="14" height="14"/> <constraints> <constraint firstAttribute="width" constant="10" id="oZA-uv-S2L"/> </constraints> @@ -364,7 +363,7 @@ </connections> </textField> <popUpButton toolTip="First chapter to encode." verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="1545" userLabel="Chapter Start"> - <rect key="frame" x="604" y="536" width="64" height="22"/> + <rect key="frame" x="603" y="537" width="66" height="22"/> <constraints> <constraint firstAttribute="width" constant="58" id="LYd-Am-GKJ"/> </constraints> @@ -389,7 +388,7 @@ </connections> </popUpButton> <popUpButton toolTip="Last chapter to encode." verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="1548" userLabel="Chapter End"> - <rect key="frame" x="680" y="536" width="64" height="22"/> + <rect key="frame" x="679" y="537" width="66" height="22"/> <constraints> <constraint firstAttribute="width" constant="58" id="zhJ-ur-lHA"/> </constraints> @@ -414,7 +413,7 @@ </connections> </popUpButton> <popUpButton toolTip="Video angle to encode. Only applicable to multi-angle DVD and Blu-ray." verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="5181"> - <rect key="frame" x="418" y="536" width="44" height="22"/> + <rect key="frame" x="417" y="537" width="46" height="22"/> <constraints> <constraint firstAttribute="width" constant="38" id="xGF-g4-jWh"/> </constraints> @@ -450,7 +449,7 @@ IA </connections> </popUpButton> <popUpButton horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="1541"> - <rect key="frame" x="54" y="536" width="310" height="22"/> + <rect key="frame" x="54" y="537" width="311" height="22"/> <string key="toolTip">Title, or video clip, to encode. The longest title is selected by default. Blu-ray and DVD sources often have multiple titles, the longest of which is typically the main feature.</string> @@ -490,7 +489,7 @@ Blu-ray and DVD sources often have multiple titles, the longest of which is typi </connections> </pathControl> <button toolTip="Browse to select a new destination path for your encode." horizontalHuggingPriority="1000" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="1562"> - <rect key="frame" x="795" y="55" width="76" height="27"/> + <rect key="frame" x="795" y="56" width="76" height="27"/> <buttonCell key="cell" type="push" title="Browse…" bezelStyle="rounded" alignment="center" controlSize="small" borderStyle="border" inset="2" id="4920"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="message" size="11"/> @@ -553,7 +552,7 @@ Blu-ray and DVD sources often have multiple titles, the longest of which is typi </constraints> </box> <popUpButton verticalHuggingPriority="750" verticalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="bWH-Lp-mKY"> - <rect key="frame" x="66" y="505" width="210" height="22"/> + <rect key="frame" x="65" y="508" width="212" height="22"/> <constraints> <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="204" id="k4L-Sa-g4b"/> </constraints> @@ -580,7 +579,7 @@ Blu-ray and DVD sources often have multiple titles, the longest of which is typi </connections> </popUpButton> <textField horizontalHuggingPriority="1000" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="5180"> - <rect key="frame" x="374" y="539" width="41" height="14"/> + <rect key="frame" x="374" y="543" width="41" height="14"/> <textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="left" title="Angle:" id="5185"> <font key="font" metaFont="smallSystemBold"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> @@ -596,7 +595,7 @@ Blu-ray and DVD sources often have multiple titles, the longest of which is typi </connections> </textField> <textField horizontalHuggingPriority="1000" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="100" translatesAutoresizingMaskIntoConstraints="NO" id="4NG-AB-JWs"> - <rect key="frame" x="472" y="539" width="43" height="14"/> + <rect key="frame" x="472" y="543" width="43" height="14"/> <textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="left" title="Range:" id="IxV-PW-oYh"> <font key="font" metaFont="smallSystemBold"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> @@ -607,7 +606,7 @@ Blu-ray and DVD sources often have multiple titles, the longest of which is typi </connections> </textField> <button toolTip="Reload the encoding settings for the currently selected preset. Modifications will be discarded." verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="AhR-pK-Oz4"> - <rect key="frame" x="275" y="499" width="64" height="31"/> + <rect key="frame" x="275" y="505" width="64" height="27"/> <buttonCell key="cell" type="push" title="Reload" bezelStyle="rounded" alignment="center" controlSize="small" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="cgS-BU-Nfd"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="message" size="11"/> @@ -623,7 +622,7 @@ Blu-ray and DVD sources often have multiple titles, the longest of which is typi </connections> </button> <button toolTip="Save New Preset…" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="2vD-zN-YMe"> - <rect key="frame" x="335" y="499" width="126" height="31"/> + <rect key="frame" x="335" y="505" width="126" height="27"/> <buttonCell key="cell" type="push" title="Save New Preset…" bezelStyle="rounded" alignment="center" controlSize="small" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="IOU-3L-nvB"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="message" size="11"/> @@ -749,7 +748,7 @@ Blu-ray and DVD sources often have multiple titles, the longest of which is typi <popUpButton key="view" imageHugsTitle="YES" id="pJJ-0V-TQq"> <rect key="frame" x="29" y="14" width="56" height="35"/> <autoresizingMask key="autoresizingMask"/> - <popUpButtonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" alignment="center" lineBreakMode="truncatingTail" state="on" imageScaling="proportionallyDown" inset="2" pullsDown="YES" id="BAK-n3-eIN"> + <popUpButtonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="addtitlestoqueue" alignment="center" lineBreakMode="truncatingTail" state="on" imageScaling="proportionallyDown" inset="2" pullsDown="YES" id="BAK-n3-eIN"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <font key="font" metaFont="menu"/> <menu key="menu" id="QCi-1O-Msg"> diff --git a/macosx/Base.lproj/Queue.xib b/macosx/Base.lproj/Queue.xib index d9375572e..b1e193b88 100644 --- a/macosx/Base.lproj/Queue.xib +++ b/macosx/Base.lproj/Queue.xib @@ -1,9 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17147" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct"> +<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct"> <dependencies> <deployment identifier="macosx"/> - <development version="11000" identifier="xcode"/> - <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17147"/> + <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17506"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <objects> @@ -20,7 +19,7 @@ <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/> <windowCollectionBehavior key="collectionBehavior" fullScreenPrimary="YES"/> <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/> - <rect key="contentRect" x="157" y="863" width="584" height="424"/> + <rect key="contentRect" x="157" y="515" width="584" height="424"/> <rect key="screenRect" x="0.0" y="0.0" width="1920" height="1055"/> <value key="minSize" type="size" width="320" height="240"/> <view key="contentView" id="2577"> @@ -44,7 +43,7 @@ <toolbarItem implicitItemIdentifier="E914B732-9FA4-42E0-AFA6-353A8ACC406B" label="Action" paletteLabel="Action" image="NSActionTemplate" sizingBehavior="auto" id="DCB-WP-NRs"> <nil key="toolTip"/> <popUpButton key="view" verticalHuggingPriority="750" id="Wfu-Hw-JBC"> - <rect key="frame" x="0.0" y="14" width="41" height="23"/> + <rect key="frame" x="0.0" y="14" width="54" height="25"/> <autoresizingMask key="autoresizingMask"/> <popUpButtonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" pullsDown="YES" id="Zxj-rr-UnA"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> @@ -84,7 +83,7 @@ </toolbarItem> <toolbarItem implicitItemIdentifier="938D3EC6-1547-4AAB-86AF-B3FD3C7AF8BD" label="When Done" paletteLabel="When Done" toolTip="Action to perform when encoding is complete." sizingBehavior="auto" id="a3c-kV-98E"> <popUpButton key="view" verticalHuggingPriority="750" id="rfS-M1-CnB"> - <rect key="frame" x="0.0" y="14" width="165" height="23"/> + <rect key="frame" x="0.0" y="14" width="177" height="25"/> <autoresizingMask key="autoresizingMask"/> <popUpButtonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="pch-jl-VXA"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> @@ -108,7 +107,7 @@ <toolbarItem implicitItemIdentifier="963C2AD9-6708-4781-9411-3111E9713E3B" label="Details" paletteLabel="Details" image="details" sizingBehavior="auto" id="DfN-Iw-bzy"> <nil key="toolTip"/> <button key="view" verticalHuggingPriority="750" id="KyK-r0-0eJ"> - <rect key="frame" x="12" y="14" width="21" height="23"/> + <rect key="frame" x="9" y="14" width="27" height="23"/> <autoresizingMask key="autoresizingMask"/> <buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="details" imagePosition="only" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="BjZ-aR-Hpe"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> @@ -123,10 +122,9 @@ <defaultToolbarItems> <toolbarItem reference="SX6-mq-Hck"/> <toolbarItem reference="s7o-pK-heI"/> - <toolbarItem reference="rHN-a0-oZQ"/> - <toolbarItem reference="DCB-WP-NRs"/> - <toolbarItem reference="a3c-kV-98E"/> <toolbarItem reference="QuV-M8-cet"/> + <toolbarItem reference="a3c-kV-98E"/> + <toolbarItem reference="DCB-WP-NRs"/> <toolbarItem reference="DfN-Iw-bzy"/> </defaultToolbarItems> </toolbar> diff --git a/macosx/HBHUDView.m b/macosx/HBHUDView.m index a03eb427a..01d4df6b6 100644 --- a/macosx/HBHUDView.m +++ b/macosx/HBHUDView.m @@ -15,7 +15,15 @@ if (self) { self.wantsLayer = YES; - self.layer.cornerRadius = 4; + + CGFloat radius = 4; +#if defined(__MAC_11_0) + if (@available (macOS 11, *)) + { + radius = 10; + } +#endif + self.layer.cornerRadius = radius; self.blendingMode = NSVisualEffectBlendingModeWithinWindow; self.material = NSVisualEffectMaterialDark; |