清理Connected状态下重复的UpdateInfo调用,优化状态更新流程
This commit is contained in:
@@ -862,9 +862,6 @@ namespace JoyD.Windows.CS.Toprie
|
||||
case ConnectionStatus.Connected:
|
||||
Console.WriteLine("设备已连接");
|
||||
|
||||
// 连接时调用更新Info
|
||||
UpdateInfo();
|
||||
|
||||
// 仅在首次连接时设置为热图模式,重连时保留之前的模式
|
||||
if (!_isReceivingImage) // 首次连接时_isReceivingImage为false
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user