Skip to content

Commit 1d72ec5

Browse files
committed
misc: icon glyph.
1 parent cdee8bb commit 1d72ec5

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

UI/SemiUrsa/Client.Avalonia/Views/MainView.axaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
Command="{Binding StopCommand}">
100100
<PathIcon
101101
Theme="{StaticResource InnerPathIcon}"
102-
Data="{StaticResource IconStop}" />
102+
Data="{StaticResource SemiIconStop}" />
103103
</Button>
104104
<ToggleSwitch
105105
Name="StartButton"
@@ -119,12 +119,12 @@
119119
<ToggleSwitch.OffContent>
120120
<PathIcon
121121
Theme="{StaticResource InnerPathIcon}"
122-
Data="{StaticResource IconPlay}" />
122+
Data="{StaticResource SemiIconPlay}" />
123123
</ToggleSwitch.OffContent>
124124
<ToggleSwitch.OnContent>
125125
<PathIcon
126126
Theme="{StaticResource InnerPathIcon}"
127-
Data="{StaticResource IconPause}" />
127+
Data="{StaticResource SemiIconPause}" />
128128
</ToggleSwitch.OnContent>
129129
</ToggleSwitch>
130130
<Button
@@ -136,7 +136,7 @@
136136
Command="{Binding RestartCommand}">
137137
<PathIcon
138138
Theme="{StaticResource InnerPathIcon}"
139-
Data="{StaticResource IconRestart}" />
139+
Data="{StaticResource SemiIconRestart}" />
140140
</Button>
141141
</StackPanel>
142142
</Border>
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
2-
<StreamGeometry x:Key="IconPlay">M 5 2.90101 C 5 2.09583 5.90303 1.62081 6.56653 2.07697 L 19.8014 11.1759 C 20.3794 11.5733 20.3794 12.4267 19.8014 12.824 L 6.56653 21.923 C 5.90303 22.3792 5 21.9041 5 21.0989 V 2.90101 Z</StreamGeometry>
3-
<StreamGeometry x:Key="IconPause">M4.5 4.75C4.5 3.23122 5.73122 2 7.25 2C8.76878 2 10 3.23122 10 4.75V19.25C10 20.7688 8.76878 22 7.25 22C5.73122 22 4.5 20.7688 4.5 19.25V4.75ZM14 4.75C14 3.23122 15.2312 2 16.75 2C18.2688 2 19.5 3.23122 19.5 4.75V19.25C19.5 20.7688 18.2688 22 16.75 22C15.2312 22 14 20.7688 14 19.25V4.75Z</StreamGeometry>
4-
<StreamGeometry x:Key="IconStop">M3 6C3 4.34315 4.34315 3 6 3H18C19.6569 3 21 4.34315 21 6V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V6Z</StreamGeometry>
5-
<StreamGeometry x:Key="IconRestart">M4.5 2C3.67157 2 3 2.67157 3 3.5V20.5C3 21.3284 3.67157 22 4.5 22C5.32843 22 6 21.3284 6 20.5V3.5C6 2.67157 5.32843 2 4.5 2ZM8.00083 11.2137L19.3822 2.27115C20.0384 1.75562 21.0001 2.22303 21.0001 3.05746V20.9425C21.0001 21.777 20.0384 22.2444 19.3822 21.7289L8.00083 12.7863C7.49126 12.3859 7.49126 11.6141 8.00083 11.2137Z</StreamGeometry>
62
</ResourceDictionary>

UI/SemiUrsa/Upgrade.Avalonia/Views/MainView.axaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
Command="{Binding StopCommand}">
110110
<PathIcon
111111
Theme="{StaticResource InnerPathIcon}"
112-
Data="{StaticResource IconStop}" />
112+
Data="{StaticResource SemiIconStop}" />
113113
</Button>
114114
<ToggleSwitch
115115
Name="StartButton"
@@ -129,12 +129,12 @@
129129
<ToggleSwitch.OffContent>
130130
<PathIcon
131131
Theme="{StaticResource InnerPathIcon}"
132-
Data="{StaticResource IconPlay}" />
132+
Data="{StaticResource SemiIconPlay}" />
133133
</ToggleSwitch.OffContent>
134134
<ToggleSwitch.OnContent>
135135
<PathIcon
136136
Theme="{StaticResource InnerPathIcon}"
137-
Data="{StaticResource IconPause}" />
137+
Data="{StaticResource SemiIconPause}" />
138138
</ToggleSwitch.OnContent>
139139
</ToggleSwitch>
140140
<Button
@@ -146,7 +146,7 @@
146146
Command="{Binding RestartCommand}">
147147
<PathIcon
148148
Theme="{StaticResource InnerPathIcon}"
149-
Data="{StaticResource IconRestart}" />
149+
Data="{StaticResource SemiIconRestart}" />
150150
</Button>
151151
</StackPanel>
152152
</Border>

0 commit comments

Comments
 (0)