Changeset 340 for trunk/Start.pas
- Timestamp:
- Apr 2, 2021, 9:09:49 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Start.pas
r339 r340 143 143 144 144 uses 145 Global, Directories, Direct, ScreenTools, Inp, Back, Settings ;145 Global, Directories, Direct, ScreenTools, Inp, Back, Settings, UKeyBindings; 146 146 147 147 {$R *.lfm} … … 1742 1742 procedure TStartDlg.FormKeyDown(Sender: TObject; var Key: Word; 1743 1743 Shift: TShiftState); 1744 begin 1745 if KeyToShortCut(Key, Shift) = VK_F1 then 1744 var 1745 ShortCut: TShortCut; 1746 begin 1747 ShortCut := KeyToShortCut(Key, Shift); 1748 if BFullScreen.Test(ShortCut) then begin 1749 FullScreen := not FullScreen; 1750 UpdateInterface; 1751 Background.UpdateInterface; 1752 end else 1753 if BHelp.Test(ShortCut) then 1746 1754 DirectHelp(cStartHelp); 1747 1755 end;
Note:
See TracChangeset
for help on using the changeset viewer.