Skip to content
Snippets Groups Projects
Commit c2fc4cf9 authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

#178 - Improve execution of eof trigger

parent b13af013
No related branches found
No related tags found
No related merge requests found
......@@ -111,8 +111,10 @@ public class Trigger {
} else if (triggerPoint == TriggerPoint.STOP) {
item.performAction(pad, project, mainViewController, currentProfile);
} else if (triggerPoint == TriggerPoint.EOF) {
if (item.getDurationFromPoint() == Duration.ZERO && pad.isEof()) {
if (item.getDurationFromPoint() == Duration.ZERO) {
if (pad.isEof()) {
item.performAction(pad, project, mainViewController, currentProfile);
}
} else {
handleEndPoint(pad, currentDuration, project, mainViewController, currentProfile, item);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment