perf: 优化了一个看不懂的逻辑

This commit is contained in:
MistEO
2022-06-30 00:43:05 +08:00
parent a0fd7283a8
commit 0f08b5be09

View File

@@ -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;
}