Skip to content

Commit

Permalink
修复 睡觉时点击不说话 的bug by 牢c
Browse files Browse the repository at this point in the history
  • Loading branch information
LorisYounger committed Mar 28, 2024
1 parent 692e3ad commit ab1aa2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VPet-Simulator.Core/Display/Main.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ private void MainGrid_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
if (DisplayType.Type != GraphType.Default)
{//不是nomal! 可能会卡timer,所有全部timer清空下
CleanState();
if (!IsIdel && DisplayStop(DisplayToNomal))
if (!IsIdel && State != WorkingState.Sleep && DisplayStop(DisplayToNomal))
return;
}
DefaultClickAction?.Invoke();
Expand Down

0 comments on commit ab1aa2d

Please sign in to comment.