Add action to play timelapse in reverse

This commit is contained in:
Malin E
2021-10-06 13:05:14 +02:00
parent 19e936ea18
commit 26101b66cc
5 changed files with 39 additions and 1 deletions

View File

@@ -213,6 +213,10 @@ double ScriptScheduler::currentTime() const {
return _currentTime;
}
void ScriptScheduler::setCurrentTime(double time) {
_currentTime = time;
}
std::vector<ScriptScheduler::ScheduledScript> ScriptScheduler::allScripts() const {
std::vector<ScheduledScript> result;
for (size_t i = 0; i < _timings.size(); ++i) {