Skip to content

Commit 94098ce

Browse files
committed
feat: 修改标题为 PCL 而不是 PCL II
1 parent bfa3d38 commit 94098ce

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

PCL.Neo/Styles/Icons.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<!-- Add Styles Here -->
1010
<Style>
1111
<Style.Resources>
12-
<StreamGeometry x:Key="ShapeTitleLogo">M26,29 v-25 h5 a7,7 180 0 1 0,14 h-5 M61,6.5 a10,11.5 180 1 0 0,18 M68,2.5 v24.5 h12 M98,2 v27 M107,2 v27</StreamGeometry>
12+
<StreamGeometry x:Key="ShapeTitleLogo">M26,29 v-25 h5 a7,7 180 0 1 0,14 h-5 M61,6.5 a10,11.5 180 1 0 0,18 M68,2.5 v24.5 h12 M98,2</StreamGeometry>
1313
<StreamGeometry x:Key="BtnTitleClose">F1 M2,0 L0,2 8,10 0,18 2,20 10,12 18,20 20,18 12,10 20,2 18,0 10,8 2,0Z</StreamGeometry>
1414
<StreamGeometry x:Key="BtnTitleMin">F1 M0,0 h15 v2 h-15 v-2 Z</StreamGeometry>
1515
<StreamGeometry x:Key="BtnTitleSelect0">M985.403 552.96C985.403 812.702 773.041 1024 512 1024S38.597 812.702 38.597 552.96c0-158.208 79.163-304.955 211.771-392.625 31.074-20.52 72.94-11.973 93.46 19.101s12.012 72.94-19.062 93.46c-94.681 62.622-151.237 167.306-151.237 280.064 0 185.344 151.788 336.108 338.471 336.108S850.471 738.304 850.471 552.96c0-114.649-57.974-220.278-155.096-282.585-31.35-20.125-40.448-61.833-20.362-93.184s61.794-40.448 93.184-20.4c135.995 87.236 217.206 235.362 217.206 396.169zM512 560.128c37.258 0 67.466-30.208 67.466-67.466V67.466C579.466 30.208 549.258 0 512 0s-67.466 30.208-67.466 67.466v425.196c0 37.258 30.208 67.466 67.466 67.466z</StreamGeometry>

PCL.Neo/ViewModels/MainWindowViewModel.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,9 @@ private void UpdateNavBtnState()
182182
{
183183
CheckedBtn = CurrentViewModel switch
184184
{
185-
// LinkViewModel => 3,
186-
//SetupViewModel => 4,
185+
HomeViewModel => 1,
186+
187+
OnlineViewModel => 3,
187188
// MoreViewModel => 4,
188189
// _ => throw new ArgumentOutOfRangeException() // 有可能切换到子界面,如下载进度界面
189190
_ => 1

PCL.Neo/Views/MainWindow.axaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
Stroke="White"
124124
StrokeThickness="1.9"
125125
UseLayoutRounding="False"
126-
Width="52" />
126+
Width="48" />
127127
<TextBlock
128128
FontSize="17"
129129
Foreground="White"
@@ -150,7 +150,7 @@
150150
Height="20"
151151
HorizontalAlignment="Left"
152152
IsHitTestVisible="False"
153-
Margin="12,0,0,0"
153+
Margin="0,0,0,0"
154154
Name="NeoTitleLogo"
155155
UseLayoutRounding="False"
156156
Width="32">

0 commit comments

Comments
 (0)