mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 18:01:26 +08:00
chore: ui perf
[skip changelog]
This commit is contained in:
@@ -4827,7 +4827,7 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
get => _language;
|
||||
set
|
||||
{
|
||||
if (value == _language)
|
||||
if (!SetAndNotify(ref _language, value))
|
||||
{
|
||||
return;
|
||||
}
|
||||
@@ -4867,7 +4867,6 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
Bootstrapper.ShutdownAndRestartWithoutArgs();
|
||||
}
|
||||
|
||||
SetAndNotify(ref _language, value);
|
||||
return;
|
||||
|
||||
string FormatText(string text, string key)
|
||||
|
||||
@@ -86,8 +86,7 @@
|
||||
|
||||
<Button
|
||||
Height="30"
|
||||
Margin="0,10,0,0"
|
||||
HorizontalAlignment="Stretch"
|
||||
Margin="20,10,20,0"
|
||||
s:View.ActionTarget="{Binding PostActionSetting}"
|
||||
Command="{s:Action PostActionsClear}"
|
||||
Content="{DynamicResource Clear}" />
|
||||
|
||||
Reference in New Issue
Block a user