mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 08:19:29 +02:00
cocoa: updates in drawing a single length lines to half of a pixel (for non retina displays) #34681
git-svn-id: trunk@60124 -
This commit is contained in:
parent
ba83c710cd
commit
bd8706d429
@ -1764,8 +1764,8 @@ begin
|
||||
if (absDeltaX<=1) and (absDeltaY<=1) then
|
||||
begin
|
||||
// special case for 1-pixel lines
|
||||
tx := bx + 0.05 * deltaX;
|
||||
ty := by + 0.05 * deltay;
|
||||
tx := bx + 0.5 * deltaX;
|
||||
ty := by + 0.5 * deltay;
|
||||
end
|
||||
else
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user