setScale to auto
This commit is contained in:
parent
377219befe
commit
0732d4c1b3
|
@ -661,6 +661,7 @@ function initPage() {
|
||||||
|
|
||||||
// Start the fps and status updates. give a random delay so that we don't assault the server
|
// Start the fps and status updates. give a random delay so that we don't assault the server
|
||||||
var delay = Math.round( (Math.random()+0.5)*statusRefreshTimeout );
|
var delay = Math.round( (Math.random()+0.5)*statusRefreshTimeout );
|
||||||
|
monitors[i].setScale('auto');
|
||||||
monitors[i].start(delay);
|
monitors[i].start(delay);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,7 @@ function initPage() {
|
||||||
|
|
||||||
// Start the fps and status updates. give a random delay so that we don't assault the server
|
// Start the fps and status updates. give a random delay so that we don't assault the server
|
||||||
var delay = Math.round( (Math.random()+0.5)*statusRefreshTimeout );
|
var delay = Math.round( (Math.random()+0.5)*statusRefreshTimeout );
|
||||||
|
monitors[i].setScale('auto');
|
||||||
monitors[i].start(delay);
|
monitors[i].start(delay);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,5 +32,12 @@ function initPage() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function streamCmdQuit() {
|
||||||
|
for ( var i = 0, length = monitorData.length; i < length; i++ ) {
|
||||||
|
monitors[i] = new MonitorStream(monitorData[i]);
|
||||||
|
monitors[i].stop();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
window.addEventListener('DOMContentLoaded', initPage);
|
window.addEventListener('DOMContentLoaded', initPage);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue