mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-06 18:47:38 +01:00
TAChart: Avoid painting a line for zero-height bars in a TBarSeries
git-svn-id: trunk@52531 -
This commit is contained in:
parent
e31a4d74d3
commit
cabde596fa
@ -1024,8 +1024,8 @@ var
|
||||
TAGeometry.NormalizeRect(imageBar);
|
||||
|
||||
// Draw a line instead of an empty rectangle.
|
||||
if Bottom = Top then Dec(Top);
|
||||
if Left = Right then Inc(Right);
|
||||
// if Bottom = Top then Dec(Top);
|
||||
// if Left = Right then Inc(Right);
|
||||
end;
|
||||
DrawBar(imageBar);
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user