mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-25 10:01:38 +08:00
bugfix
This commit is contained in:
parent
03031e3762
commit
69adb3adfb
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (c) 2008-2022 Jan W. Krieger (<jan@jkrieger.de>)
|
Copyright (c) 2008-2022 Jan W. Krieger (<jan@jkrieger.de>)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
This software is free software: you can redistribute it and/or modify
|
This software is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License (LGPL) as published by
|
it under the terms of the GNU Lesser General Public License (LGPL) as published by
|
||||||
@ -133,10 +133,10 @@ void JKQTPXYLineGraph::draw(JKQTPEnhancedPainter& painter) {
|
|||||||
if (linesP.size()>0) {
|
if (linesP.size()>0) {
|
||||||
if (isHighlighted()) {
|
if (isHighlighted()) {
|
||||||
painter.setPen(penSelection);
|
painter.setPen(penSelection);
|
||||||
painter.drawPolyline(linesP.data(), linesP.size());
|
painter.drawPolyline(linesP);
|
||||||
}
|
}
|
||||||
painter.setPen(p);
|
painter.setPen(p);
|
||||||
painter.drawPolyline(linesP.data(), linesP.size());
|
painter.drawPolyline(linesP);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user