add new time options for substitution

This commit is contained in:
Stewart Allen 2020-02-07 21:23:22 -05:00
commit e19972f864
2 changed files with 6 additions and 2 deletions

View file

@ -1417,6 +1417,8 @@ var gs_kiri_cam = exports;
left: offset ? 0 : -bed.bedWidth/2,
right: offset ? bed.bedWidth : bed.bedWidth/2,
bottom: offset ? 0 : -bed.bedDepth/2,
time_sec: 0,
time_ms: 0,
time: 0
},
append;
@ -1478,7 +1480,9 @@ var gs_kiri_cam = exports;
// out.speed = time to dwell in ms
if (!newpos) {
time += out.speed;
consts.time = out.speed / 1000;
consts.time_sec = out.speed / 1000;
consts.time_ms = out.speed;
consts.time = consts.time_sec;
filterEmit(cmdDwell, consts);
return;
}

View file

@ -92,7 +92,7 @@ button[del] {
}
.grouphead {
color: black;
background-color: rgba(170,221,255,0.75);
background-color: rgba(170,221,255,0.7);
border: 1px solid #ccc;
border-radius: 3px;
margin-top: 5px;