Fixed: Touch point incorrect position when editing nested layers

This commit is contained in:
Jindra Petřík
2025-05-17 19:28:51 +02:00
parent e38fad0271
commit ca54060785
2 changed files with 2 additions and 1 deletions

View File

@@ -1655,6 +1655,7 @@ public final class ImagePanel extends JPanel implements MediaDisplay {
if (depthStateUnderCursor.matrix != null) {
matrix = matrix.preConcatenate(new Matrix(depthStateUnderCursor.matrix));
}
matrix = matrix.concatenate(getParentMatrix());
Matrix scaleMatrix = Matrix.getScaleInstance(getRealZoom() / SWF.unitDivisor);
matrix = matrix.preConcatenate(scaleMatrix);