mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 06:53:01 +00:00
parent
b289d4ac1d
commit
c33d587622
1 changed files with 1 additions and 4 deletions
|
@ -4420,10 +4420,7 @@ void FurnaceGUI::drawInsEdit() {
|
|||
}
|
||||
if (ImGui::InputInt("Offset##WAVEPOS",&ins->n163.wavePos,1,16)) { PARAMETER
|
||||
if (ins->n163.wavePos<0) ins->n163.wavePos=0;
|
||||
if (ins->n163.wavePos>240) ins->n163.wavePos=240;
|
||||
if (ins->n163.wavePos + ins->n163.waveLen > 240) {
|
||||
ins->n163.wavePos -= ins->n163.waveLen;
|
||||
}
|
||||
if (ins->n163.wavePos>236) ins->n163.wavePos=236;
|
||||
}
|
||||
if (ImGui::InputInt("Length##WAVELEN",&ins->n163.waveLen,4,16)) { PARAMETER
|
||||
int n163origLen = ins->n163.waveLen;
|
||||
|
|
Loading…
Reference in a new issue