added playhead header

This commit is contained in:
itsmattkc
2018-06-08 13:48:47 -07:00
parent cb24f78bd5
commit bcff276104
8 changed files with 74 additions and 53 deletions
+6 -2
View File
@@ -114,8 +114,12 @@ void Sequence::split_clip(int i, long frame) {
}
void Sequence::undo_add_current() {
undo_pointer++;
undo_stack.resize(undo_pointer);
if (undo_stack.size() == UNDO_LIMIT) {
undo_stack.removeFirst();
} else {
undo_pointer++;
undo_stack.resize(undo_pointer);
}
undo_stack.append(clips);
}