Remove unnecessary logging
This commit is contained in:
parent
f6c86382f0
commit
a3375eb289
@ -952,7 +952,6 @@ class ArDetector {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (currentMax > this.blackLevel + blthreshold) {
|
if (currentMax > this.blackLevel + blthreshold) {
|
||||||
console.log("CURRENT MAX:", currentMax, "BLACK LEVEL, threshold, bl+t", this.blackLevel, blthreshold, this.blackLevel+blthreshold)
|
|
||||||
// we search no further
|
// we search no further
|
||||||
if (currentMin < this.blackLevel) {
|
if (currentMin < this.blackLevel) {
|
||||||
this.blackLevel = currentMin;
|
this.blackLevel = currentMin;
|
||||||
|
@ -426,7 +426,6 @@ class Resizer {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (this.lastAr && this.lastAr.ratio === null) {
|
if (this.lastAr && this.lastAr.ratio === null) {
|
||||||
console.log("[Resizer::restore] LAST AR IS NULL")
|
|
||||||
throw "Last ar is null!"
|
throw "Last ar is null!"
|
||||||
}
|
}
|
||||||
this.setAr(this.lastAr, this.lastAr)
|
this.setAr(this.lastAr, this.lastAr)
|
||||||
|
Loading…
Reference in New Issue
Block a user