GUI: select all is vertical now

This commit is contained in:
tildearrow 2022-03-20 22:22:10 -05:00
parent 21b15d686b
commit 20799402c8
1 changed files with 1 additions and 1 deletions

View File

@ -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