+ stop heat if mins && secs == 0
+ layout improved
This commit is contained in:
parent
e3d5c57101
commit
189af45397
1 changed files with 5 additions and 2 deletions
|
@ -69,7 +69,7 @@
|
|||
console.log("StartHeat");
|
||||
start = true;
|
||||
SaveToLocalCahe();
|
||||
timer = setInterval(Timer, 1000);
|
||||
timer = setInterval(Timer, 100);
|
||||
}
|
||||
|
||||
function pad(n) {
|
||||
|
@ -77,6 +77,9 @@
|
|||
}
|
||||
|
||||
function Timer() {
|
||||
if (mins == 0 && secs == 0) {
|
||||
StopHeat();
|
||||
}
|
||||
if (secs == 0) {
|
||||
mins = mins - 1;
|
||||
secs = 59;
|
||||
|
@ -309,7 +312,7 @@
|
|||
top: 6px;
|
||||
left: 6px;
|
||||
width: 254px;
|
||||
padding: 6px;
|
||||
padding-left: 6px;
|
||||
background: rgba(50, 50, 50, 0.7);
|
||||
color: white;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
||||
|
|
Loading…
Add table
Reference in a new issue