GUI: new osc renderer, part 26
sorry another window
This commit is contained in:
parent
086c792d33
commit
e17df27f66
6 changed files with 71 additions and 5 deletions
|
|
@ -307,7 +307,7 @@ void FurnaceGUI::drawOsc() {
|
|||
} else {
|
||||
for (int i=0; i<oscWidth-24; i++) {
|
||||
float x=(float)i/(float)(oscWidth-24);
|
||||
float y=oscValuesAverage[i+12];
|
||||
float y=oscValuesAverage[i+12]*0.5f;
|
||||
if (!settings.oscEscapesBoundary) {
|
||||
if (y<-0.5f) y=-0.5f;
|
||||
if (y>0.5f) y=0.5f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue