Don't print Video messages unless enabled (use the Debugger "m video on" command)
This commit is contained in:
parent
aa08c7a94b
commit
0ffc09083d
1 changed files with 3 additions and 3 deletions
|
|
@ -732,7 +732,7 @@ Video.prototype.setBinding = function(sHTMLType, sBinding, control, sValue)
|
||||||
*/
|
*/
|
||||||
Video.prototype.updateDimensions = function(nCols, nRows)
|
Video.prototype.updateDimensions = function(nCols, nRows)
|
||||||
{
|
{
|
||||||
this.println("updateDimensions(" + nCols + "," + nRows + ")");
|
this.printMessage("updateDimensions(" + nCols + "," + nRows + ")");
|
||||||
this.nColsBuffer = nCols;
|
this.nColsBuffer = nCols;
|
||||||
/*
|
/*
|
||||||
* Even when the number of effective rows is 14 (or 15 counting the scroll line buffer), we want
|
* Even when the number of effective rows is 14 (or 15 counting the scroll line buffer), we want
|
||||||
|
|
@ -758,7 +758,7 @@ Video.prototype.updateDimensions = function(nCols, nRows)
|
||||||
*/
|
*/
|
||||||
Video.prototype.updateRate = function(nRate)
|
Video.prototype.updateRate = function(nRate)
|
||||||
{
|
{
|
||||||
this.println("updateRate(" + nRate + ")");
|
this.printMessage("updateRate(" + nRate + ")");
|
||||||
this.rateMonitor = nRate;
|
this.rateMonitor = nRate;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -846,7 +846,7 @@ Video.prototype.notifyFullScreen = function(fFullScreen)
|
||||||
this.canvasScreen.style.width = this.canvasScreen.style.height = "";
|
this.canvasScreen.style.width = this.canvasScreen.style.height = "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.printMessage("notifyFullScreen(" + fFullScreen + ")", true);
|
this.printMessage("notifyFullScreen(" + fFullScreen + ")");
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue