mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-19 19:09:28 +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(
|
||||
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