mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-30 16:33:01 +00:00
GUI: prevent one possible bug when moving cursor
This commit is contained in:
parent
964039c8db
commit
92c1add075
1 changed files with 1 additions and 0 deletions
|
@ -263,6 +263,7 @@ void FurnaceGUI::moveCursorBottom(bool select) {
|
|||
if (cursor.y==e->song.patLen-1) {
|
||||
DETERMINE_LAST;
|
||||
cursor.xCoarse=lastChannel-1;
|
||||
if (cursor.xCoarse<0) cursor.xCoarse=0;
|
||||
cursor.xFine=2+e->song.pat[cursor.xCoarse].effectRows*2;
|
||||
demandScrollX=true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue