mirror of
https://github.com/zakk4223/CocoaSplit.git
synced 2026-05-15 14:15:50 -06:00
When creating an input based transition via drag+drop, immediately save the input and dealloc it.
This commit is contained in:
parent
6fb7e6f68a
commit
df38b7b535
1 changed files with 3 additions and 0 deletions
|
|
@ -160,6 +160,7 @@
|
|||
CSTransitionLayout *newTransition = [[CSTransitionLayout alloc] init];
|
||||
newTransition.layout = draggedLayout;
|
||||
[self.transitionsArrayController addObject:newTransition];
|
||||
[newTransition saveAndClearInputSource];
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
|
@ -173,6 +174,8 @@
|
|||
CSTransitionInput *inputTransition = [[CSTransitionInput alloc] init];
|
||||
inputTransition.inputSource = inputSrc;
|
||||
[self.transitionsArrayController addObject:inputTransition];
|
||||
[inputTransition saveAndClearInputSource];
|
||||
|
||||
return YES;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue