GUI: select all is vertical now
This commit is contained in:
parent
21b15d686b
commit
20799402c8
|
@ -2742,7 +2742,7 @@ void FurnaceGUI::doSelectAll() {
|
|||
}
|
||||
|
||||
float aspect=float(selEndX-selStartX+1)/float(selEnd.y-selStart.y+1);
|
||||
if (aspect<1.0f && !(selStart.y==0 && selEnd.y==e->song.patLen-1)) { // up-down
|
||||
if (aspect<=1.0f && !(selStart.y==0 && selEnd.y==e->song.patLen-1)) { // up-down
|
||||
selStart.y=0;
|
||||
selEnd.y=e->song.patLen-1;
|
||||
} else { // left-right
|
||||
|
|
Loading…
Reference in New Issue