Fix incorrect graph step size behavior (#7703)

The y-axis quantization for graph values was being calculated
incorrectly. This would have gone unnoticed since the only step sizes
currently used are 0 (continuous) or 1. Any other values produce
"sloped" quantization. This fix prevents this error from affecting
any future uses of graphModel.
This commit is contained in:
Fawn
2025-03-11 16:53:29 -06:00
committed by GitHub
parent 6233c5b9e4
commit 7f2761df9b
2 changed files with 24 additions and 34 deletions

View File

@@ -182,7 +182,7 @@ public:
public slots:
//! Set range of y values
void setRange( float _min, float _max );
void setRange(float ymin, float ymax);
void setLength( int _size );
//! Update one sample