From a8a5c454f039923fb9d11331cbe06fa85f8e2c86 Mon Sep 17 00:00:00 2001 From: April Ayres-Griffiths Date: Wed, 17 Apr 2019 20:01:15 +1000 Subject: [PATCH] fix cr --- backup/main.pas | 4 +++- main.pas | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backup/main.pas b/backup/main.pas index aa5e622..35f1966 100644 --- a/backup/main.pas +++ b/backup/main.pas @@ -2886,7 +2886,9 @@ begin Result := 0; VK_RETURN: begin if not isAlt then - Result := 13; + Result := 13 + else + Result := 0; end; VK_SHIFT: Result := 0; VK_CAPITAL: begin diff --git a/main.pas b/main.pas index 35f1966..2e261b2 100644 --- a/main.pas +++ b/main.pas @@ -2731,9 +2731,7 @@ begin lastShowTime := Now(); lastFocusLostTime:=Now(); - SimpleGet( baseUrl + '/api/control/mouse/buttonstate/1' ); - Sleep(50); - SimpleGet( baseUrl + '/api/control/mouse/buttonstate/0' ); + SimpleGet( baseUrl + '/api/control/mouse/buttonclick' ); end; ReposWindow; end;