summaryrefslogtreecommitdiff
path: root/src/containers/app/timeline
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-30 09:58:43 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-30 09:58:43 +0200
commit99ede1e1515b2dcee5cabbfab4fd5f4db675a59f (patch)
tree8ce94c61c471b8f9f5c2656a4e3c6936c45368ae /src/containers/app/timeline
parent5ad02f9cb3a68010c25c5a5d835f61382b109491 (diff)
Don't allow un-pausing at end of simulation
Diffstat (limited to 'src/containers/app/timeline')
-rw-r--r--src/containers/app/timeline/PlayButtonContainer.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/containers/app/timeline/PlayButtonContainer.js b/src/containers/app/timeline/PlayButtonContainer.js
index 3db5302c..1003b69c 100644
--- a/src/containers/app/timeline/PlayButtonContainer.js
+++ b/src/containers/app/timeline/PlayButtonContainer.js
@@ -5,6 +5,8 @@ import PlayButtonComponent from "../../../components/app/timeline/PlayButtonComp
const mapStateToProps = state => {
return {
isPlaying: state.isPlaying,
+ currentTick: state.currentTick,
+ lastSimulatedTick: state.lastSimulatedTick,
};
};