Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: fixed the manual to cancel issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 15, 2023
1 parent 1665ac3 commit 28fedef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RotationSolver/Commands/RSCommands_Actions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ public static partial class RSCommands
static StateCommandType _lastState;
internal static unsafe void DoAnAction(bool isGCD)
{
if (_lastState == StateCommandType.Cancel)
if (_lastState == StateCommandType.Cancel
|| DataCenter.StateType == StateCommandType.Cancel)
{
_lastState = DataCenter.StateType;
return;
Expand Down

0 comments on commit 28fedef

Please sign in to comment.