GUI: effectCursorDir improvements
This commit is contained in:
parent
5bd076d13e
commit
62ff7317e3
2 changed files with 22 additions and 10 deletions
|
|
@ -1016,11 +1016,17 @@ void FurnaceGUI::valueInput(int num, bool direct, int target) {
|
|||
if (!settings.effectCursorDir) {
|
||||
editAdvance();
|
||||
} else {
|
||||
if (cursor.xFine&1) {
|
||||
cursor.xFine++;
|
||||
if (settings.effectCursorDir==2) {
|
||||
if (++cursor.xFine>=(3+(e->song.pat[cursor.xCoarse].effectRows*2))) {
|
||||
cursor.xFine=3;
|
||||
}
|
||||
} else {
|
||||
editAdvance();
|
||||
cursor.xFine--;
|
||||
if (cursor.xFine&1) {
|
||||
cursor.xFine++;
|
||||
} else {
|
||||
editAdvance();
|
||||
cursor.xFine--;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue