mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 02:55:38 +08:00
chore: 界面设置改为全局配置
This commit is contained in:
@@ -959,7 +959,7 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
public const int SelectedAllWidthWhenBoth = 80;
|
||||
|
||||
private int _selectedAllWidth =
|
||||
ConfigurationHelper.GetValue(ConfigurationKeys.InverseClearMode, "Clear") == "ClearInverse" ? SelectedAllWidthWhenBoth : 85;
|
||||
ConfigurationHelper.GetGlobalValue(ConfigurationKeys.InverseClearMode, "Clear") == "ClearInverse" ? SelectedAllWidthWhenBoth : 85;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the width of "Select All".
|
||||
@@ -970,7 +970,7 @@ namespace MaaWpfGui.ViewModels.UI
|
||||
set => SetAndNotify(ref _selectedAllWidth, value);
|
||||
}
|
||||
|
||||
private bool _showInverse = ConfigurationHelper.GetValue(ConfigurationKeys.InverseClearMode, "Clear") == "ClearInverse";
|
||||
private bool _showInverse = ConfigurationHelper.GetGlobalValue(ConfigurationKeys.InverseClearMode, "Clear") == "ClearInverse";
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether "Select inversely" is visible.
|
||||
|
||||
Reference in New Issue
Block a user