|
@@ -143,7 +143,8 @@ class Webshot extends CallableInstance {
|
|
let boundary = null;
|
|
let boundary = null;
|
|
let x = zoomFactor * 2;
|
|
let x = zoomFactor * 2;
|
|
for (let y = 0; y < this.height; y++) {
|
|
for (let y = 0; y < this.height; y++) {
|
|
- if (this.data[idx(x, y)] !== 255) {
|
|
|
|
|
|
+ if (this.data[idx(x, y)] !== 255 &&
|
|
|
|
+ this.data[idx(x, y)] === this.data[idx(x + zoomFactor * 10, y)]) {
|
|
if (this.data[idx(x, y + 18 * zoomFactor)] !== 255) {
|
|
if (this.data[idx(x, y + 18 * zoomFactor)] !== 255) {
|
|
// footer kicks in
|
|
// footer kicks in
|
|
boundary = null;
|
|
boundary = null;
|