This commit is contained in:
April Ayres-Griffiths 2019-04-17 19:46:59 +10:00
parent f09f0b85fa
commit 3c40bcf340
2 changed files with 10 additions and 8 deletions

View File

@ -2732,7 +2732,7 @@ begin
lastFocusLostTime:=Now();
SimpleGet( baseUrl + '/api/control/mouse/buttonstate/1' );
Delay(50);
Sleep(50);
SimpleGet( baseUrl + '/api/control/mouse/buttonstate/0' );
end;
ReposWindow;
@ -2884,9 +2884,9 @@ begin
VK_BACK:
if isCtrl and isShift then
Result := 0;
13: begin
if isAlt or isShift or isCtrl then
Result := 0;
VK_RETURN: begin
if not isAlt then
Result := 13;
end;
VK_SHIFT: Result := 0;
VK_CAPITAL: begin

View File

@ -2884,8 +2884,10 @@ begin
VK_BACK:
if isCtrl and isShift then
Result := 0;
13: begin
if isAlt or isShift or isCtrl then
VK_RETURN: begin
if not isAlt then
Result := 13
else
Result := 0;
end;
VK_SHIFT: Result := 0;