mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 02:55:38 +08:00
fix: 补回遗漏的判定
[skip changelog]
This commit is contained in:
@@ -50,6 +50,19 @@ public class ConnectSettingsUserControlModel : PropertyChangedBase
|
||||
|
||||
private static RunningState _runningState => RunningState.Instance;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether it is idle.
|
||||
/// </summary>
|
||||
public bool Idle
|
||||
{
|
||||
get => Instances.SettingsViewModel.Idle;
|
||||
set
|
||||
{
|
||||
Instances.SettingsViewModel.Idle = value;
|
||||
NotifyOfPropertyChange(nameof(Idle));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the list of the configuration of connection.
|
||||
/// </summary>
|
||||
|
||||
@@ -226,6 +226,7 @@
|
||||
hc:TitleElement.Title="{DynamicResource TouchMode}"
|
||||
hc:TitleElement.TitlePlacement="Left"
|
||||
DisplayMemberPath="Display"
|
||||
IsHitTestVisible="{Binding Idle}"
|
||||
ItemsSource="{Binding TouchModeList}"
|
||||
SelectedValue="{Binding TouchMode}"
|
||||
SelectedValuePath="Value" />
|
||||
|
||||
Reference in New Issue
Block a user