mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 18:47:55 +08:00
perf: 优化了一个看不懂的逻辑
This commit is contained in:
@@ -222,7 +222,7 @@ namespace MeoAsstGui
|
||||
set { _buttonSystemUrl = value; }
|
||||
}
|
||||
|
||||
protected bool _buttonSystemEnabled = Convert.ToBoolean(bool.FalseString);
|
||||
protected bool _buttonSystemEnabled = false;
|
||||
|
||||
#endregion 通知按钮变量
|
||||
|
||||
@@ -237,7 +237,7 @@ namespace MeoAsstGui
|
||||
_buttonLeftText = text;
|
||||
_buttonLeftAction = action;
|
||||
_buttonSystemText = text;
|
||||
_buttonSystemEnabled = Convert.ToBoolean(bool.TrueString);
|
||||
_buttonSystemEnabled = true;
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -252,7 +252,7 @@ namespace MeoAsstGui
|
||||
_buttonRightText = text;
|
||||
_buttonRightAction = action;
|
||||
_buttonSystemText = text;
|
||||
_buttonSystemEnabled = Convert.ToBoolean(bool.TrueString);
|
||||
_buttonSystemEnabled = true;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user