Skip to content

Commit c9561d2

Browse files
authored
Merge pull request #25 from jmb/touchbar-canvas-size-fix
Fix of the touchbar canvas size
2 parents 8e2cd89 + 9e03b4b commit c9561d2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

touchbar_nyancat/Base.lproj/Main.storyboard

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
1717
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
1818
<rect key="contentRect" x="196" y="240" width="480" height="270"/>
19-
<rect key="screenRect" x="0.0" y="0.0" width="1680" height="1028"/>
19+
<rect key="screenRect" x="0.0" y="0.0" width="1680" height="1050"/>
2020
<value key="minSize" type="size" width="480" height="270"/>
2121
<value key="maxSize" type="size" width="480" height="270"/>
2222
<connections>
@@ -28,12 +28,12 @@
2828
<touchBarItem id="HrR-h7-NCn">
2929
<viewController key="viewController" id="mWw-hs-xC2">
3030
<view key="view" translatesAutoresizingMaskIntoConstraints="NO" id="cF0-5M-j3l">
31-
<rect key="frame" x="0.0" y="0.0" width="960" height="38"/>
31+
<rect key="frame" x="0.0" y="0.0" width="960" height="30"/>
3232
<subviews>
3333
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="x10-iS-P7w" customClass="NyanCatCanvas" customModule="touchbar_nyancat" customModuleProvider="target">
34-
<rect key="frame" x="0.0" y="0.0" width="685" height="38"/>
34+
<rect key="frame" x="0.0" y="0.0" width="685" height="30"/>
3535
<constraints>
36-
<constraint firstAttribute="height" constant="38" id="Kxz-Id-Bjk"/>
36+
<constraint firstAttribute="height" constant="30" id="Kxz-Id-Bjk"/>
3737
<constraint firstAttribute="width" constant="685" id="R3d-YT-L8Y"/>
3838
</constraints>
3939
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="mGf-ax-GZr"/>
@@ -44,11 +44,12 @@
4444
<constraint firstItem="x10-iS-P7w" firstAttribute="top" secondItem="cF0-5M-j3l" secondAttribute="top" id="ckE-w9-eCn"/>
4545
<constraint firstItem="x10-iS-P7w" firstAttribute="leading" secondItem="cF0-5M-j3l" secondAttribute="leading" id="g6H-Pm-YqB"/>
4646
<constraint firstAttribute="bottom" secondItem="x10-iS-P7w" secondAttribute="bottom" id="oSM-F2-fZ7"/>
47-
<constraint firstAttribute="height" constant="38" id="rV9-Hn-8dZ"/>
47+
<constraint firstAttribute="height" constant="30" id="rV9-Hn-8dZ"/>
4848
<constraint firstAttribute="trailing" secondItem="x10-iS-P7w" secondAttribute="trailing" constant="275" id="wT8-Om-0tY"/>
4949
</constraints>
5050
</view>
5151
</viewController>
52+
<size key="designTimeSize" width="960" height="30"/>
5253
</touchBarItem>
5354
</touchBarItems>
5455
</touchBar>

0 commit comments

Comments
 (0)