mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 03:40:31 +02:00
Carbon: Simplified 1 pixel drawn code. Same as r56926 #32000402a9 for Cocoa. Issue #32926.
git-svn-id: trunk@56952 -
This commit is contained in:
parent
a398131a54
commit
f113cfc740
@ -1272,8 +1272,8 @@ begin
|
||||
if (absDeltaX<=1) and (absDeltaY<=1) then
|
||||
begin
|
||||
// special case for 1-pixel lines
|
||||
tx := bx + 0.05;
|
||||
ty := by + 0.05;
|
||||
tx := bx + 0.05 * deltaX;
|
||||
ty := by + 0.05 * deltaY;
|
||||
end
|
||||
else
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user