diff options
| -rw-r--r-- | audioin/src/ofApp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audioin/src/ofApp.cpp b/audioin/src/ofApp.cpp index b2d9810..9160f65 100644 --- a/audioin/src/ofApp.cpp +++ b/audioin/src/ofApp.cpp @@ -48,7 +48,7 @@ void ofApp::draw(){ line.addVertex(0,buffer[0]); float i=0.0f; - while (i<ofGetWidth()){ + while (i<(ofGetWidth()+hScale)){ i+=max(1.0f,hScale); line.curveTo(i,buffer[(int)i]); } |
