diff options
-rw-r--r-- | src/bm/plotter.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bm/plotter.cpp b/src/bm/plotter.cpp index cdb383e..cbfca53 100644 --- a/src/bm/plotter.cpp +++ b/src/bm/plotter.cpp @@ -756,11 +756,15 @@ bool HistoriesPlotter::drawScenes( QGraphicsItem *bgRect = scene_far->addRect( xmin, ymin, xmax - xmin, ymax - ymin, QPen(Qt::NoPen), QBrush(QColor(245, 245, 245, 255))); - bgRect->setZValue(-1); + bgRect->setZValue(-2); } // Draw border rectangle ... - scene_far->addRect(xmin, ymin, xmax - xmin, ymax - ymin, QPen(QColor(200, 200, 200, 255))); + { + QGraphicsItem *bgRect = scene_far->addRect( + xmin, ymin, xmax - xmin, ymax - ymin, QPen(QColor(200, 200, 200, 255))); + bgRect->setZValue(-1); + } const qreal dpSize = 4; |