mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 18:20:39 +08:00
perf.界面的一些小调整
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
Content="启动后自动开启模拟器" />
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="10">
|
||||
<TextBlock Margin="3" Style="{StaticResource TextBlockDefault}" Block.TextAlignment="Center" Text="等待模拟器
启动时间(秒)" />
|
||||
<TextBox Margin="3" Text="{Binding EmulatorWaitSeconds}" Width="50" />
|
||||
<TextBox Margin="3" Text="{Binding EmulatorWaitSeconds}" IsEnabled="{Binding StartEmulator}" InputMethod.IsInputMethodEnabled="False" Width="50" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Column="1" VerticalAlignment="Center">
|
||||
|
||||
@@ -50,8 +50,8 @@ namespace MeoAsstGui
|
||||
_listTitle.Add("自动公招");
|
||||
_listTitle.Add("信用商店");
|
||||
_listTitle.Add("企鹅数据");
|
||||
_listTitle.Add("启动设置");
|
||||
_listTitle.Add("连接设置");
|
||||
_listTitle.Add("启动设置");
|
||||
_listTitle.Add("定时执行");
|
||||
_listTitle.Add("通知显示");
|
||||
_listTitle.Add("软件更新");
|
||||
@@ -1198,21 +1198,21 @@ namespace MeoAsstGui
|
||||
rvm.WindowTitle = string.Format("MaaAssistantArknights - {0} ({1})", ConnectConfigName, ConnectAddress);
|
||||
}
|
||||
|
||||
private string bluestacksConfig = ViewStatusStorage.Get("Bluestacks.Config.Path", string.Empty);
|
||||
private string _bluestacksConfig = ViewStatusStorage.Get("Bluestacks.Config.Path", string.Empty);
|
||||
|
||||
public void TryToSetBlueStacksHyperVAddress()
|
||||
{
|
||||
if (bluestacksConfig.Length == 0)
|
||||
if (_bluestacksConfig.Length == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (!File.Exists(bluestacksConfig))
|
||||
if (!File.Exists(_bluestacksConfig))
|
||||
{
|
||||
ViewStatusStorage.Set("Bluestacks.Config.Error", "File not exists");
|
||||
return;
|
||||
}
|
||||
|
||||
var all_lines = File.ReadAllLines(bluestacksConfig);
|
||||
var all_lines = File.ReadAllLines(_bluestacksConfig);
|
||||
foreach (var line in all_lines)
|
||||
{
|
||||
if (line.StartsWith("bst.instance.Nougat64.status.adb_port"))
|
||||
|
||||
@@ -41,19 +41,19 @@
|
||||
<local:PenguinReportSettingsUserControl IsEnabled="{Binding Idle}" Margin="20" />
|
||||
<Rectangle HorizontalAlignment="Stretch" Fill="LightGray" Height="1" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text="{Binding ListTitle[5]}" Foreground="Gray" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Left" />
|
||||
<local:StartSettingsUserControl IsEnabled="{Binding Idle}" Margin="20" />
|
||||
<Rectangle HorizontalAlignment="Stretch" Fill="LightGray" Height="1" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text="{Binding ListTitle[6]}" Foreground="Gray" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Left" />
|
||||
<local:ConnectSettingsUserControl IsEnabled="{Binding Idle}" Margin="20" />
|
||||
<Rectangle HorizontalAlignment="Stretch" Fill="LightGray" Height="1" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text="{Binding ListTitle[6]}" Foreground="Gray" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Left" />
|
||||
<local:StartSettingsUserControl Margin="20" />
|
||||
<Rectangle HorizontalAlignment="Stretch" Fill="LightGray" Height="1" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text="{Binding ListTitle[7]}" Foreground="Gray" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Left" />
|
||||
<local:TimerSettingsUserControl IsEnabled="{Binding Idle}" Margin="20" />
|
||||
<local:TimerSettingsUserControl Margin="20" />
|
||||
<Rectangle HorizontalAlignment="Stretch" Fill="LightGray" Height="1" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text="{Binding ListTitle[8]}" Foreground="Gray" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Left" />
|
||||
<local:ToastSettingsUserControl IsEnabled="{Binding Idle}" Margin="20" />
|
||||
<local:ToastSettingsUserControl Margin="20" />
|
||||
<Rectangle HorizontalAlignment="Stretch" Fill="LightGray" Height="1" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text="{Binding ListTitle[9]}" Foreground="Gray" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Left" />
|
||||
<local:VersionUpdateSettingsUserControl IsEnabled="{Binding Idle}" Margin="20" />
|
||||
<local:VersionUpdateSettingsUserControl Margin="20" />
|
||||
<Rectangle HorizontalAlignment="Stretch" Fill="LightGray" Height="1" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text="{Binding ListTitle[10]}" Foreground="Gray" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Left" />
|
||||
<local:AboutUserControl Margin="20" />
|
||||
|
||||
Reference in New Issue
Block a user