mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 17:20:37 +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
|
if (absDeltaX<=1) and (absDeltaY<=1) then
|
||||||
begin
|
begin
|
||||||
// special case for 1-pixel lines
|
// special case for 1-pixel lines
|
||||||
tx := bx + 0.05;
|
tx := bx + 0.05 * deltaX;
|
||||||
ty := by + 0.05;
|
ty := by + 0.05 * deltaY;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user