fix record with no selection in EditMode_Full; FLT_MAX is greater than the maximum NoteRow and comes out negative
This commit is contained in:
@@ -3472,7 +3472,7 @@ float ScreenEdit::GetMaximumBeatForNewNote() const
|
||||
return fEndBeat;
|
||||
}
|
||||
case EditMode_Full:
|
||||
return FLT_MAX;
|
||||
return NoteRowToBeat(MAX_NOTE_ROW);
|
||||
default:
|
||||
ASSERT(0); return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user