mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 23:13:01 +00:00
GUI: update sample texture
This commit is contained in:
parent
7ebc63a514
commit
97926c4e5c
1 changed files with 3 additions and 0 deletions
|
@ -650,6 +650,7 @@ void FurnaceGUI::doAction(int what) {
|
||||||
});
|
});
|
||||||
sampleSelStart=pos;
|
sampleSelStart=pos;
|
||||||
sampleSelEnd=pos+sampleClipboardLen;
|
sampleSelEnd=pos+sampleClipboardLen;
|
||||||
|
updateSampleTex=true;
|
||||||
MARK_MODIFIED;
|
MARK_MODIFIED;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -676,6 +677,7 @@ void FurnaceGUI::doAction(int what) {
|
||||||
sampleSelStart=pos;
|
sampleSelStart=pos;
|
||||||
sampleSelEnd=pos+sampleClipboardLen;
|
sampleSelEnd=pos+sampleClipboardLen;
|
||||||
if (sampleSelEnd>(int)sample->samples) sampleSelEnd=sample->samples;
|
if (sampleSelEnd>(int)sample->samples) sampleSelEnd=sample->samples;
|
||||||
|
updateSampleTex=true;
|
||||||
MARK_MODIFIED;
|
MARK_MODIFIED;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -708,6 +710,7 @@ void FurnaceGUI::doAction(int what) {
|
||||||
sampleSelStart=pos;
|
sampleSelStart=pos;
|
||||||
sampleSelEnd=pos+sampleClipboardLen;
|
sampleSelEnd=pos+sampleClipboardLen;
|
||||||
if (sampleSelEnd>(int)sample->samples) sampleSelEnd=sample->samples;
|
if (sampleSelEnd>(int)sample->samples) sampleSelEnd=sample->samples;
|
||||||
|
updateSampleTex=true;
|
||||||
MARK_MODIFIED;
|
MARK_MODIFIED;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue