add new time options for substitution
This commit is contained in:
parent
ff15e6185c
commit
e19972f864
2 changed files with 6 additions and 2 deletions
|
|
@ -1417,6 +1417,8 @@ var gs_kiri_cam = exports;
|
||||||
left: offset ? 0 : -bed.bedWidth/2,
|
left: offset ? 0 : -bed.bedWidth/2,
|
||||||
right: offset ? bed.bedWidth : bed.bedWidth/2,
|
right: offset ? bed.bedWidth : bed.bedWidth/2,
|
||||||
bottom: offset ? 0 : -bed.bedDepth/2,
|
bottom: offset ? 0 : -bed.bedDepth/2,
|
||||||
|
time_sec: 0,
|
||||||
|
time_ms: 0,
|
||||||
time: 0
|
time: 0
|
||||||
},
|
},
|
||||||
append;
|
append;
|
||||||
|
|
@ -1478,7 +1480,9 @@ var gs_kiri_cam = exports;
|
||||||
// out.speed = time to dwell in ms
|
// out.speed = time to dwell in ms
|
||||||
if (!newpos) {
|
if (!newpos) {
|
||||||
time += out.speed;
|
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);
|
filterEmit(cmdDwell, consts);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ button[del] {
|
||||||
}
|
}
|
||||||
.grouphead {
|
.grouphead {
|
||||||
color: black;
|
color: black;
|
||||||
background-color: rgba(170,221,255,0.75);
|
background-color: rgba(170,221,255,0.7);
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue