Add to stage tag order fix.

This commit is contained in:
Jindra Petřík
2024-10-06 09:40:05 +02:00
parent 3dd6e6fad8
commit 875b9c17d3
9 changed files with 146 additions and 23 deletions

View File

@@ -1144,13 +1144,14 @@ public final class ImagePanel extends JPanel implements MediaDisplay {
if (altDown || selectionMode) {
if (depthStateUnderCursor != null) {
if (transformSelectionMode) {
if (freeTransformDepth != depthStateUnderCursor.depth) {
if (freeTransformDepth != depthStateUnderCursor.depth && mode == Cursor.DEFAULT_CURSOR) {
freeTransformDepth(depthStateUnderCursor.depth);
firePlaceObjectSelected();
}
} else if (selectionMode) {
selectDepth(depthStateUnderCursor.depth);
}
firePlaceObjectSelected();
firePlaceObjectSelected();
}
}
if (!selectionMode) {
return;