mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Line corruption fix for SummaryChart
This commit is contained in:
parent
f80327a31e
commit
87e0892ac5
@ -373,7 +373,7 @@ void SummaryChart::paint(gGraph & w,int left, int top, int width, int height)
|
|||||||
|
|
||||||
quads->add(x1,py,x1,py-h,col);
|
quads->add(x1,py,x1,py-h,col);
|
||||||
quads->add(x2,py-h,x2,py,col2);
|
quads->add(x2,py-h,x2,py,col2);
|
||||||
if (barw>2) {
|
if (h>0 && barw>2) {
|
||||||
outlines->add(x1,py,x1,py-h,x1,py-h,x2,py-h,blk);
|
outlines->add(x1,py,x1,py-h,x1,py-h,x2,py-h,blk);
|
||||||
outlines->add(x1,py,x2,py,x2,py,x2,py-h,blk);
|
outlines->add(x1,py,x2,py,x2,py,x2,py-h,blk);
|
||||||
} // if (bar
|
} // if (bar
|
||||||
|
Loading…
Reference in New Issue
Block a user