mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 21:38:27 +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(
|
||||
TargetCanvas.Handle,
|
||||
Left,
|
||||
Top {$ifdef ManualClipNeeded} + YCorrect{$endif},
|
||||
PaintWidth, PaintInfo.Node.NodeHeight,
|
||||
Top + YCorrect,
|
||||
PaintWidth,
|
||||
PaintInfo.Node.NodeHeight - YCorrect,
|
||||
Canvas.Handle,
|
||||
Window.Left,
|
||||
{$ifdef ManualClipNeeded}YCorrect{$else}0{$endif},
|
||||
NodeBitmap.Width, NodeBitmap.Height,
|
||||
Round(YCorrect * sc),
|
||||
NodeBitmap.Width,
|
||||
NodeBitmap.Height - Round(YCorrect * sc),
|
||||
SRCCOPY
|
||||
);
|
||||
{$else}
|
||||
|
Loading…
Reference in New Issue
Block a user