fix "can't paste from clipboard with only one row in clipboard"
fix "can't Undo to a blank NoteField" clamp paste area so that pasting past the maximum beat is impossible
This commit is contained in:
@@ -123,6 +123,7 @@ public:
|
||||
//
|
||||
// statistics
|
||||
//
|
||||
bool IsEmpty() const;
|
||||
int GetFirstRow() const; // return the beat number of the first note
|
||||
float GetFirstBeat() const { return NoteRowToBeat( GetFirstRow() ); }
|
||||
int GetLastRow() const; // return the beat number of the last note
|
||||
|
||||
Reference in New Issue
Block a user