mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-12 16:42:05 +00:00
Add to selection with shift with rectangle selection
This commit is contained in:
@@ -1035,6 +1035,13 @@ public final class ImagePanel extends JPanel implements MediaDisplay {
|
||||
newSelectedPoints.add(i);
|
||||
}
|
||||
}
|
||||
if (shiftDown) {
|
||||
for (int p: selectedPoints) {
|
||||
if (!newSelectedPoints.contains(p)) {
|
||||
newSelectedPoints.add(p);
|
||||
}
|
||||
}
|
||||
}
|
||||
selectedPoints = newSelectedPoints;
|
||||
calculatePointsXY();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user