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.
1 parent 2b6f8a7 commit 25c5a1aCopy full SHA for 25c5a1a
modules/base/BasePainter.mjs
@@ -552,8 +552,8 @@ class BasePainter {
552
553
if (old_h && old_w && (old_h > 0) && (old_w > 0)) {
554
if ((old_h !== rect.height) || (old_w !== rect.width))
555
- if ((check_level > 1) || (rect.width / old_w < 0.66) || (rect.width / old_w > 1.5) ||
556
- (rect.height / old_h < 0.66) && (rect.height / old_h > 1.5)) rect.changed = true;
+ rect.changed = (check_level > 1) || (rect.width / old_w < 0.9) || (rect.width / old_w > 1.1) ||
+ (rect.height / old_h < 0.9) || (rect.height / old_h > 1.1);
557
} else {
558
rect.changed = true;
559
}
0 commit comments