Fixed: Filters - image bounds

This commit is contained in:
Jindra Petřík
2025-05-12 20:12:00 +02:00
parent 9e19d38798
commit 9c3dc007c1
2 changed files with 3 additions and 2 deletions

View File

@@ -1086,8 +1086,8 @@ public class Timeline {
for (FILTER filter : filters) {
double x = filter.getDeltaX();
double y = filter.getDeltaY();
deltaXMax = Math.max(x, deltaXMax);
deltaYMax = Math.max(y, deltaYMax);
deltaXMax += x;
deltaYMax += y;
}
rect.xMin -= deltaXMax * unzoom * SWF.unitDivisor;
rect.xMax += deltaXMax * unzoom * SWF.unitDivisor;