mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 15:03: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;
|
||||
sampleSelEnd=pos+sampleClipboardLen;
|
||||
updateSampleTex=true;
|
||||
MARK_MODIFIED;
|
||||
break;
|
||||
}
|
||||
|
@ -676,6 +677,7 @@ void FurnaceGUI::doAction(int what) {
|
|||
sampleSelStart=pos;
|
||||
sampleSelEnd=pos+sampleClipboardLen;
|
||||
if (sampleSelEnd>(int)sample->samples) sampleSelEnd=sample->samples;
|
||||
updateSampleTex=true;
|
||||
MARK_MODIFIED;
|
||||
break;
|
||||
}
|
||||
|
@ -708,6 +710,7 @@ void FurnaceGUI::doAction(int what) {
|
|||
sampleSelStart=pos;
|
||||
sampleSelEnd=pos+sampleClipboardLen;
|
||||
if (sampleSelEnd>(int)sample->samples) sampleSelEnd=sample->samples;
|
||||
updateSampleTex=true;
|
||||
MARK_MODIFIED;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue