mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 17:09:21 +02:00
SynEdit: fix wrong painting of gutter marks in very first paint. Introduced in cbf7a97b7f
This commit is contained in:
parent
6bba655f67
commit
0245e4756c
@ -119,7 +119,7 @@ begin
|
||||
Result := -1;
|
||||
if assigned(FBookMarkOpt) and assigned(FBookMarkOpt.BookmarkImages) and
|
||||
assigned(FriendEdit) and FriendEdit.HandleAllocated and
|
||||
(FColumnWidth > 0)
|
||||
(FBookMarkOpt.BookmarkImages.Width > 0)
|
||||
then
|
||||
Result := GetImgListRes(FriendEdit.Canvas, FBookMarkOpt.BookmarkImages).Width;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user