mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-02 02:52:40 +00:00
GUI: mark modified on asset movement
This commit is contained in:
parent
83c4d5ba97
commit
5c9569a64a
1 changed files with 6 additions and 0 deletions
|
@ -672,12 +672,14 @@ void FurnaceGUI::doAction(int what) {
|
||||||
if (e->moveInsUp(curIns)) {
|
if (e->moveInsUp(curIns)) {
|
||||||
curIns--;
|
curIns--;
|
||||||
wantScrollList=true;
|
wantScrollList=true;
|
||||||
|
MARK_MODIFIED;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case GUI_ACTION_INS_LIST_MOVE_DOWN:
|
case GUI_ACTION_INS_LIST_MOVE_DOWN:
|
||||||
if (e->moveInsDown(curIns)) {
|
if (e->moveInsDown(curIns)) {
|
||||||
curIns++;
|
curIns++;
|
||||||
wantScrollList=true;
|
wantScrollList=true;
|
||||||
|
MARK_MODIFIED;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case GUI_ACTION_INS_LIST_DELETE:
|
case GUI_ACTION_INS_LIST_DELETE:
|
||||||
|
@ -752,12 +754,14 @@ void FurnaceGUI::doAction(int what) {
|
||||||
if (e->moveWaveUp(curWave)) {
|
if (e->moveWaveUp(curWave)) {
|
||||||
curWave--;
|
curWave--;
|
||||||
wantScrollList=true;
|
wantScrollList=true;
|
||||||
|
MARK_MODIFIED;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case GUI_ACTION_WAVE_LIST_MOVE_DOWN:
|
case GUI_ACTION_WAVE_LIST_MOVE_DOWN:
|
||||||
if (e->moveWaveDown(curWave)) {
|
if (e->moveWaveDown(curWave)) {
|
||||||
curWave++;
|
curWave++;
|
||||||
wantScrollList=true;
|
wantScrollList=true;
|
||||||
|
MARK_MODIFIED;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case GUI_ACTION_WAVE_LIST_DELETE:
|
case GUI_ACTION_WAVE_LIST_DELETE:
|
||||||
|
@ -852,6 +856,7 @@ void FurnaceGUI::doAction(int what) {
|
||||||
curSample--;
|
curSample--;
|
||||||
wantScrollList=true;
|
wantScrollList=true;
|
||||||
updateSampleTex=true;
|
updateSampleTex=true;
|
||||||
|
MARK_MODIFIED;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case GUI_ACTION_SAMPLE_LIST_MOVE_DOWN:
|
case GUI_ACTION_SAMPLE_LIST_MOVE_DOWN:
|
||||||
|
@ -859,6 +864,7 @@ void FurnaceGUI::doAction(int what) {
|
||||||
curSample++;
|
curSample++;
|
||||||
wantScrollList=true;
|
wantScrollList=true;
|
||||||
updateSampleTex=true;
|
updateSampleTex=true;
|
||||||
|
MARK_MODIFIED;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case GUI_ACTION_SAMPLE_LIST_DELETE:
|
case GUI_ACTION_SAMPLE_LIST_DELETE:
|
||||||
|
|
Loading…
Reference in a new issue