Skip to content

Commit

Permalink
0.29.3
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyadanli committed May 9, 2024
1 parent 8fe5984 commit f8ad1bd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 50 deletions.
2 changes: 1 addition & 1 deletion BetterGenshinImpact/Core/Config/Global.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace BetterGenshinImpact.Core.Config;

public class Global
{
public static string Version { get; } = "0.29.2";
public static string Version { get; } = "0.29.3";

public static string StartUpPath { get; set; } = AppContext.BaseDirectory;

Expand Down
7 changes: 6 additions & 1 deletion BetterGenshinImpact/View/Pages/CommonSettingsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:helpers="clr-namespace:BetterGenshinImpact.Helpers"
xmlns:local="clr-namespace:BetterGenshinImpact.View.Pages"
xmlns:markup="clr-namespace:BetterGenshinImpact.Markup"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:pages="clr-namespace:BetterGenshinImpact.ViewModel.Pages"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
Expand Down Expand Up @@ -367,7 +369,10 @@
</ui:CardControl>

<!-- 地图 -->
<ui:CardControl Margin="0,0,0,12" Icon="{ui:SymbolIcon Cursor24}">
<ui:CardControl Margin="0,0,0,12"
Icon="{ui:SymbolIcon Cursor24}"
Visibility="{markup:Converter Value={x:Static helpers:RuntimeHelper.IsDebuggerAttached},
Converter={StaticResource BooleanToVisibilityConverter}}">
<ui:CardControl.Header>
<Grid>
<Grid.RowDefinitions>
Expand Down
56 changes: 8 additions & 48 deletions BetterGenshinImpact/View/Pages/TaskSettingsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -663,19 +663,13 @@
</StackPanel>
</ui:CardExpander>

<ui:CardExpander Margin="0,0,0,12"
ContentPadding="0"
Icon="{ui:SymbolIcon MusicNote224}">
<ui:CardExpander.Header>
<ui:CardControl Margin="0,0,0,12" Icon="{ui:SymbolIcon MusicNote224}">
<ui:CardControl.Header>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<ui:TextBlock Grid.Row="0"
Grid.Column="0"
FontTypography="Body"
Expand All @@ -684,48 +678,14 @@
<ui:TextBlock Grid.Row="1"
Grid.Column="0"
Foreground="{ui:ThemeResource TextFillColorTertiaryBrush}"
TextWrapping="Wrap">
自动完成活动音游,进入演奏界面使用
</ui:TextBlock>
<ui:Button Grid.Row="0"
Grid.RowSpan="2"
Grid.Column="1"
Margin="0,0,24,0"
Command="{Binding SwitchAutoMusicGameCommand}"
Content="{Binding SwitchAutoMusicGameButtonText}" />
</Grid>
</ui:CardExpander.Header>
<StackPanel>
<Grid Margin="16">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<ui:TextBlock Grid.Row="0"
Grid.Column="0"
FontTypography="Body"
Text="None"
TextWrapping="Wrap" />
<ui:TextBlock Grid.Row="1"
Grid.Column="0"
Foreground="{ui:ThemeResource TextFillColorTertiaryBrush}"
Text="None"
Text="下落模式必须选择垂落模式,进入演奏界面使用,建议配置快捷键"
TextWrapping="Wrap" />
<ui:TextBox Grid.Row="0"
Grid.RowSpan="2"
Grid.Column="1"
MinWidth="180"
MaxWidth="800"
Margin="0,0,36,0"
Text="None"
TextWrapping="Wrap" />
</Grid>
</StackPanel>
</ui:CardExpander>
</ui:CardControl.Header>
<ui:Button Margin="0,0,36,0"
Command="{Binding SwitchAutoMusicGameCommand}"
Content="{Binding SwitchAutoMusicGameButtonText}" />
</ui:CardControl>



Expand Down

0 comments on commit f8ad1bd

Please sign in to comment.