mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-02 19:18:14 +02:00
Gtk2: do not apply devctx offset into penPos, regression of r39034 #d433d82e1c.issue #23057
git-svn-id: trunk@39036 -
This commit is contained in:
parent
a81d9e96aa
commit
12653c735d
@ -6471,7 +6471,7 @@ begin
|
||||
gdk_draw_line(DevCtx.Drawable, DevCtx.GC, FromPt.X, FromPt.Y, ToPt.X, ToPt.Y);
|
||||
{$IFDEF DebugGDK}EndGDKErrorTrap;{$ENDIF}
|
||||
|
||||
DevCtx.PenPos := Point(X+DevCtx.Offset.X, Y+DevCtx.Offset.Y);
|
||||
DevCtx.PenPos := Point(X, Y);
|
||||
|
||||
Result := True;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user