You've already forked lazarus-ccr
*Remove workaround to LCL bug 11187
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@442 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -117,7 +117,7 @@ interface
|
||||
{$define Gtk}
|
||||
{$endif}
|
||||
|
||||
{$if defined(Gtk) or defined(LCLQt)}
|
||||
{$if defined(Gtk)}
|
||||
{$define ManualClipNeeded}
|
||||
{$endif}
|
||||
|
||||
@ -27006,13 +27006,6 @@ begin
|
||||
end;
|
||||
Logger.SendIf([lcPaintDetails],'YCorrect ' + IntToStr(YCorrect), YCorrect > 0);
|
||||
{$endif}
|
||||
{$ifdef LCLQt}
|
||||
//Workaround to LCL bug 11187
|
||||
//Qt scales the bitmap when blitting out of control bounds
|
||||
YCorrect := 0;
|
||||
if TargetRect.Top < 0 then
|
||||
YCorrect := -TargetRect.Top;
|
||||
{$endif}
|
||||
// Put the constructed node image onto the target canvas.
|
||||
with TargetRect, NodeBitmap do
|
||||
BitBlt(TargetCanvas.Handle, Left,
|
||||
|
Reference in New Issue
Block a user