cocoa: pixel offset of drawing themed panel

git-svn-id: trunk@61077 -
This commit is contained in:
dmitry 2019-04-29 01:49:34 +00:00
parent b211b05cb8
commit 64e9a15d41

View File

@ -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);