Ignore:
Timestamp:
Jan 26, 2020, 10:57:41 PM (4 years ago)
Author:
chronos
Message:
  • Fixed: Drawing board in AI mode.
  • Fixed: Undo action was not enabled.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormComputer.pas

    r50 r68  
    161161  J: Integer;
    162162  GameTries: TGameTries;
     163  Delay: Integer;
    163164begin
    164165  ButtonStart.Enabled := False;
     
    201202      else Break;
    202203      }
    203       Application.ProcessMessages;
    204       Sleep(TrackBar1.Position);
     204      Delay := TrackBar1.Position;
     205      while Delay > 0 do begin
     206        Application.ProcessMessages;
     207        Sleep(10);
     208        Delay := Delay - 10;
     209      end;
    205210    end;
    206211  end;
Note: See TracChangeset for help on using the changeset viewer.