We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e98b4a2 + 81a5e4f commit 1d6f74bCopy full SHA for 1d6f74b
lib/image-helper.ts
@@ -314,13 +314,13 @@ export class ImageHelper {
314
315
public compareImages(options: IImageCompareOptions, actual: string, expected: string, output: string) {
316
const clipRect = {
317
- x: this.options.cropRectangle.x,
318
- y: this.options.cropRectangle.y,
319
- width: this.options.cropRectangle.width,
320
- height: this.options.cropRectangle.height
+ x: options.cropRectangle.x,
+ y: options.cropRectangle.y,
+ width: options.cropRectangle.width,
+ height: options.cropRectangle.height
321
}
322
323
- if (!this.options.keepOriginalImageSize) {
+ if (!options.keepOriginalImageSize) {
324
clipRect.x = 0;
325
clipRect.y = 0;
326
clipRect.width = undefined;
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments