From b481e14fbe90d40e44ceca67caee0320dd8d6d13 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Fri, 14 Jul 2017 06:26:26 +0200 Subject: [PATCH] scroll preview, leave before entering the scrollbar --- src/ce_synmemo.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ce_synmemo.pas b/src/ce_synmemo.pas index 9319c035..12ff1584 100644 --- a/src/ce_synmemo.pas +++ b/src/ce_synmemo.pas @@ -3164,7 +3164,7 @@ begin if fScrollPreview then begin - if (x > width - 40) and (x < width - 1) then + if (x > width - 40) and (x < width - 20) then begin; fScrollMemo.Visible:=true; fScrollMemo.goToLine(trunc((lines.Count / Height) * Y));