widadjust: reverse hide check
parent
5e223c24a1
commit
b21f495cbf
|
|
@ -85,7 +85,9 @@
|
|||
}
|
||||
|
||||
function draw() {
|
||||
if (settings.hide !== true) {
|
||||
if (settings.hide === true) {
|
||||
return;
|
||||
}
|
||||
g.reset().setFont('6x8').setFontAlign(0, 0);
|
||||
g.clearRect(this.x, this.y, this.x + WIDTH - 1, this.y + 23);
|
||||
g.drawString(Math.round(clockError), this.x + WIDTH/2, this.y + 9);
|
||||
|
|
@ -95,7 +97,6 @@
|
|||
g.drawString(lastPpm.toFixed(1), this.x + WIDTH/2, this.y + 23);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function loadSettings() {
|
||||
settings = Object.assign({
|
||||
|
|
|
|||
Loading…
Reference in New Issue