Version 1.1
This commit is contained in:
1 parent
57e8158efd
commit
2d4995f0d8
7 files changed
+70
-39
No files matched your search
@@ -46,6 +46,14 @@ void AnalysisPlotView::drawBackground(QPainter* painter, const QRectF& rect)
|
||||
double hz = s->xToHz(x);
|
||||
double db = gainIterator.gainAt(hz);
|
||||
double y = s->dbToY(db);
|
||||
if (y == -1)
|
||||
{
|
||||
if (db < 0)
|
||||
y = sceneRect().bottom() + 1;
|
||||
else
|
||||
y = sceneRect().top() - 1;
|
||||
}
|
||||
|
||||
if (db == lastDb)
|
||||
y = floor(y) + 0.5;
|
||||
lastDb = db;
|
||||
|
||||
Reference in new issue
Block a user