Play button at the bottom

This commit is contained in:
Luis Fernando Molina committed 2018-10-03 10:54:23 +02:00
1 parent 5c537062cd
commit 8962e06220
6 files changed
+19 -18

No files matched your search

+3 -3
View File
@@ -50,8 +50,8 @@ function newTimeControlPanel() {
/* Here we will listen to the event when time was changed due to a Bot Execution. */
canvas.topSpace.playStopButton.container.eventHandler.listenToEvent("Bot Execution Changed Datetime", onBotChangedTime);
canvas.topSpace.playStopButton.setDatetime(datetime);
canvas.bottomSpace.playStopButton.container.eventHandler.listenToEvent("Bot Execution Changed Datetime", onBotChangedTime);
canvas.bottomSpace.playStopButton.setDatetime(datetime);
viewPort.eventHandler.listenToEvent("Zoom Changed", onZoomChanged);
timePeriod = INITIAL_TIME_PERIOD;
@@ -95,7 +95,7 @@ function newTimeControlPanel() {
function setDatetime(pDatetime) {
thisObject.datetimeDisplay.currentDatetime = new Date(pDatetime);
canvas.topSpace.playStopButton.setDatetime(pDatetime);
canvas.bottomSpace.playStopButton.setDatetime(pDatetime);
}
function addTime(seconds) {