Changeset 86 for trunk/Forms/UFormMain.pas
- Timestamp:
- Nov 5, 2014, 11:02:00 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r85 r86 75 75 procedure FormCreate(Sender: TObject); 76 76 procedure FormDestroy(Sender: TObject); 77 procedure FormKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState); 77 78 procedure FormShow(Sender: TObject); 78 79 procedure MenuItem19Click(Sender: TObject); … … 305 306 end; 306 307 308 procedure TFormMain.FormKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState 309 ); 310 begin 311 if (Key = 27) or (Key = 17) then 312 if Assigned(Core.Game.CurrentPlayer) then begin 313 Core.Game.CurrentPlayer.View.SelectedCell := nil; 314 Redraw; 315 end; 316 end; 317 307 318 procedure TFormMain.FormShow(Sender: TObject); 308 319 begin
Note:
See TracChangeset
for help on using the changeset viewer.