mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 10:16:17 +02:00
cocoa: pixel offset of drawing themed panel
git-svn-id: trunk@61077 -
This commit is contained in:
parent
b211b05cb8
commit
64e9a15d41
@ -2041,7 +2041,7 @@ begin
|
||||
ns := RectToNSRect(r);
|
||||
// used for size only, position is ignored
|
||||
boxview.setFrame(ns);
|
||||
yy := ns.size.height+ns.origin.y;
|
||||
yy := ns.size.height+ns.origin.y+1;
|
||||
CGContextTranslateCTM(ctx.lclCGContext, ns.origin.x, yy);
|
||||
CGContextScaleCTM(ctx.lclCGContext, 1, -1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user