GUI: demand scroll X in more situations
This commit is contained in:
parent
2fb6ea021b
commit
b80b33ac8e
|
@ -2479,6 +2479,7 @@ void FurnaceGUI::moveCursorPrevChannel(bool overflow) {
|
||||||
|
|
||||||
selStart=cursor;
|
selStart=cursor;
|
||||||
selEnd=cursor;
|
selEnd=cursor;
|
||||||
|
demandScrollX=true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void FurnaceGUI::moveCursorNextChannel(bool overflow) {
|
void FurnaceGUI::moveCursorNextChannel(bool overflow) {
|
||||||
|
@ -2501,6 +2502,7 @@ void FurnaceGUI::moveCursorNextChannel(bool overflow) {
|
||||||
|
|
||||||
selStart=cursor;
|
selStart=cursor;
|
||||||
selEnd=cursor;
|
selEnd=cursor;
|
||||||
|
demandScrollX=true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void FurnaceGUI::moveCursorTop(bool select) {
|
void FurnaceGUI::moveCursorTop(bool select) {
|
||||||
|
@ -2510,6 +2512,7 @@ void FurnaceGUI::moveCursorTop(bool select) {
|
||||||
DETERMINE_FIRST;
|
DETERMINE_FIRST;
|
||||||
cursor.xCoarse=firstChannel;
|
cursor.xCoarse=firstChannel;
|
||||||
cursor.xFine=0;
|
cursor.xFine=0;
|
||||||
|
demandScrollX=true;
|
||||||
} else {
|
} else {
|
||||||
cursor.y=0;
|
cursor.y=0;
|
||||||
}
|
}
|
||||||
|
@ -2527,6 +2530,7 @@ void FurnaceGUI::moveCursorBottom(bool select) {
|
||||||
DETERMINE_LAST;
|
DETERMINE_LAST;
|
||||||
cursor.xCoarse=lastChannel-1;
|
cursor.xCoarse=lastChannel-1;
|
||||||
cursor.xFine=2+e->song.pat[cursor.xCoarse].effectRows*2;
|
cursor.xFine=2+e->song.pat[cursor.xCoarse].effectRows*2;
|
||||||
|
demandScrollX=true;
|
||||||
} else {
|
} else {
|
||||||
cursor.y=e->song.patLen-1;
|
cursor.y=e->song.patLen-1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue