mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 10:10:45 +08:00
Merge pull request #1089 from zzyyyl/feat/zzyyyl-patch-#471
feat: 优化`吃理智药`和`吃石头`的相关选项
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Orientation="Horizontal" Grid.Row="1" VerticalAlignment="Center">
|
||||
<CheckBox IsChecked="{Binding UseStone}" Content="吃石头 " Margin="10" />
|
||||
<CheckBox IsChecked="{Binding UseStone}" IsEnabled="{Binding UseMedicine}" Content="吃石头 " Margin="10" />
|
||||
<TextBox Text="{Binding StoneNumber}" TextWrapping="Wrap" Margin="10"
|
||||
Width="50" InputMethod.IsInputMethodEnabled="False" />
|
||||
<TextBlock Style="{StaticResource TextBlockDefault}" Text="颗" />
|
||||
|
||||
@@ -945,6 +945,10 @@ namespace MeoAsstGui
|
||||
set
|
||||
{
|
||||
SetAndNotify(ref _useMedicine, value);
|
||||
if (!value)
|
||||
{
|
||||
UseStone = false;
|
||||
}
|
||||
ViewStatusStorage.Set("MainFunction.UseMedicine", value.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user