GUI: run per-chan osc on instrument preview
This commit is contained in:
parent
4dfd413ead
commit
9fee9fa363
3 changed files with 8 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ void FurnaceGUI::drawChanOsc() {
|
|||
inRect.Max.y-=dpiScale;
|
||||
ImGui::ItemSize(size,style.FramePadding.y);
|
||||
if (ImGui::ItemAdd(rect,ImGui::GetID("chOscDisplay"))) {
|
||||
if (!e->isPlaying()) {
|
||||
if (!e->isRunning()) {
|
||||
for (unsigned short i=0; i<512; i++) {
|
||||
float x=(float)i/512.0f;
|
||||
waveform[i]=ImLerp(inRect.Min,inRect.Max,ImVec2(x,0.5f));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue