mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-24 13:35:11 +00:00
parent
ed11b6cf78
commit
26e424fe9f
2 changed files with 9 additions and 3 deletions
|
@ -5148,7 +5148,12 @@ bool FurnaceGUI::loop() {
|
|||
renderTimeDelta=renderTimeEnd-renderTimeBegin;
|
||||
eventTimeDelta=eventTimeEnd-eventTimeBegin;
|
||||
|
||||
if (--soloTimeout<0) soloTimeout=0;
|
||||
soloTimeout-=ImGui::GetIO().DeltaTime*60.0f;
|
||||
if (soloTimeout<0) {
|
||||
soloTimeout=0;
|
||||
} else {
|
||||
WAKE_UP;
|
||||
}
|
||||
|
||||
wheelX=0;
|
||||
wheelY=0;
|
||||
|
@ -5784,7 +5789,6 @@ FurnaceGUI::FurnaceGUI():
|
|||
editStep(1),
|
||||
exportLoops(0),
|
||||
soloChan(-1),
|
||||
soloTimeout(0),
|
||||
orderEditMode(0),
|
||||
orderCursor(-1),
|
||||
loopOrder(-1),
|
||||
|
@ -5803,6 +5807,7 @@ FurnaceGUI::FurnaceGUI():
|
|||
dragDestinationY(0),
|
||||
oldBeat(-1),
|
||||
oldBar(-1),
|
||||
soloTimeout(0.0f),
|
||||
exportFadeOut(5.0),
|
||||
editControlsOpen(true),
|
||||
ordersOpen(true),
|
||||
|
|
|
@ -1447,9 +1447,10 @@ class FurnaceGUI {
|
|||
|
||||
DivInstrument* prevInsData;
|
||||
|
||||
int curIns, curWave, curSample, curOctave, curOrder, prevIns, oldRow, oldOrder, oldOrder1, editStep, exportLoops, soloChan, soloTimeout, orderEditMode, orderCursor;
|
||||
int curIns, curWave, curSample, curOctave, curOrder, prevIns, oldRow, oldOrder, oldOrder1, editStep, exportLoops, soloChan,orderEditMode, orderCursor;
|
||||
int loopOrder, loopRow, loopEnd, isClipping, extraChannelButtons, patNameTarget, newSongCategory, latchTarget;
|
||||
int wheelX, wheelY, dragSourceX, dragSourceY, dragDestinationX, dragDestinationY, oldBeat, oldBar;
|
||||
float soloTimeout;
|
||||
|
||||
double exportFadeOut;
|
||||
|
||||
|
|
Loading…
Reference in a new issue