mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-21 02:19:48 +01:00
laz.virutaltrees / Cocoa: fix the issue that the first line displayed abnormally when scrolling
for example, there are many items in Lazarus IDE BreakPoints Dlg.
This commit is contained in:
parent
ef3054c557
commit
8e01a9da14
@ -31171,12 +31171,14 @@ begin
|
|||||||
StretchBlt(
|
StretchBlt(
|
||||||
TargetCanvas.Handle,
|
TargetCanvas.Handle,
|
||||||
Left,
|
Left,
|
||||||
Top {$ifdef ManualClipNeeded} + YCorrect{$endif},
|
Top + YCorrect,
|
||||||
PaintWidth, PaintInfo.Node.NodeHeight,
|
PaintWidth,
|
||||||
|
PaintInfo.Node.NodeHeight - YCorrect,
|
||||||
Canvas.Handle,
|
Canvas.Handle,
|
||||||
Window.Left,
|
Window.Left,
|
||||||
{$ifdef ManualClipNeeded}YCorrect{$else}0{$endif},
|
Round(YCorrect * sc),
|
||||||
NodeBitmap.Width, NodeBitmap.Height,
|
NodeBitmap.Width,
|
||||||
|
NodeBitmap.Height - Round(YCorrect * sc),
|
||||||
SRCCOPY
|
SRCCOPY
|
||||||
);
|
);
|
||||||
{$else}
|
{$else}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user