Last minute minor bugfix of the patch from issue 1359
This commit is contained in:
@@ -96,7 +96,7 @@ void MyFlatCurve::draw () {
|
||||
return;
|
||||
|
||||
// re-calculate curve if dimensions changed
|
||||
if (prevGraphW != graphW || prevGraphH != graphH || (int)point.size() != graphW/4)
|
||||
if (prevGraphW != graphW || prevGraphH != graphH || (int)point.size() != graphW-2)
|
||||
interpolate ();
|
||||
|
||||
double innerW = double(graphW-2);
|
||||
|
Reference in New Issue
Block a user