Skip to content

Commit 9c8f4c9

Browse files
committed
Redraw toolbar icons
1 parent 3e49d60 commit 9c8f4c9

File tree

11 files changed

+23
-43
lines changed

11 files changed

+23
-43
lines changed

RustPlayground/RustPlayground/Assets/Assets.xcassets/BottomIcon.imageset/Contents.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

RustPlayground/RustPlayground/Assets/Assets.xcassets/PlayIcon.imageset/Contents.json

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,7 @@
22
"images" : [
33
{
44
"idiom" : "universal",
5-
"filename" : "icons8-play-filled-24.png",
6-
"scale" : "1x"
7-
},
8-
{
9-
"idiom" : "universal",
10-
"filename" : "icons8-play-filled-48.png",
11-
"scale" : "2x"
12-
},
13-
{
14-
"idiom" : "universal",
15-
"filename" : "icons8-play-filled-96.png",
16-
"scale" : "3x"
5+
"filename" : "play12px.pdf"
176
}
187
],
198
"info" : {
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"filename" : "bottom16px2.pdf"
6+
}
7+
],
8+
"info" : {
9+
"version" : 1,
10+
"author" : "xcode"
11+
},
12+
"properties" : {
13+
"template-rendering-intent" : "template",
14+
"preserves-vector-representation" : true
15+
}
16+
}

RustPlayground/RustPlayground/Assets/Base.lproj/Main.storyboard

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
</connections>
120120
</button>
121121
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ggS-Ro-BzO">
122-
<rect key="frame" x="117" y="19" width="145" height="23"/>
122+
<rect key="frame" x="116.5" y="19" width="145" height="23"/>
123123
<buttonCell key="cell" type="roundTextured" title="Input Sans 14.0" bezelStyle="texturedRounded" image="NSFontPanel" imagePosition="trailing" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="dlh-QW-rjM">
124124
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
125125
<font key="font" metaFont="system"/>
@@ -137,7 +137,7 @@
137137
</textFieldCell>
138138
</textField>
139139
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="rEQ-jW-2Hf">
140-
<rect key="frame" x="117" y="47" width="145" height="23"/>
140+
<rect key="frame" x="116.5" y="47" width="145" height="23"/>
141141
<buttonCell key="cell" type="roundTextured" title="Input Sans 14.0" bezelStyle="texturedRounded" image="NSFontPanel" imagePosition="right" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="TJH-wR-Owz">
142142
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
143143
<font key="font" metaFont="system"/>
@@ -716,12 +716,12 @@
716716
<toolbar key="toolbar" implicitIdentifier="84750826-6B42-43EB-8B21-375964887724" autosavesConfiguration="NO" displayMode="iconOnly" sizeMode="regular" id="yqk-JZ-Tqz">
717717
<allowedToolbarItems>
718718
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="ayk-AU-rl3"/>
719-
<toolbarItem implicitItemIdentifier="B31474D0-1922-4D2E-8099-332D211BF426" label="Custom View" paletteLabel="Show Bottom View" tag="10" image="BottomIcon" sizingBehavior="auto" id="nTn-fh-Fu5">
719+
<toolbarItem implicitItemIdentifier="B31474D0-1922-4D2E-8099-332D211BF426" label="Custom View" paletteLabel="Show Bottom View" tag="10" image="ToggleConsoleIcon" sizingBehavior="auto" id="nTn-fh-Fu5">
720720
<nil key="toolTip"/>
721721
<button key="view" verticalHuggingPriority="750" tag="10" id="Eca-GE-Ny7">
722722
<rect key="frame" x="41" y="14" width="25" height="24"/>
723723
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
724-
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="BottomIcon" imagePosition="overlaps" alignment="center" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="eLZ-mn-lHm">
724+
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="ToggleConsoleIcon" imagePosition="overlaps" alignment="center" lineBreakMode="truncatingTail" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="eLZ-mn-lHm">
725725
<behavior key="behavior" pushIn="YES" changeContents="YES" lightByContents="YES"/>
726726
<font key="font" metaFont="system"/>
727727
<string key="keyEquivalent">Y</string>
@@ -936,8 +936,8 @@
936936
</scene>
937937
</scenes>
938938
<resources>
939-
<image name="BottomIcon" width="50" height="50"/>
940939
<image name="NSFontPanel" width="32" height="32"/>
941-
<image name="PlayIcon" width="24" height="24"/>
940+
<image name="PlayIcon" width="12" height="12"/>
941+
<image name="ToggleConsoleIcon" width="16" height="16"/>
942942
</resources>
943943
</document>

0 commit comments

Comments
 (0)