mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-25 03:01:42 +02: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
db6ce9345e
commit
7a7fad9190
@ -31174,12 +31174,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