mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-04 04:05:09 +00:00
Guides cursor stays after drag
This commit is contained in:
@@ -1420,11 +1420,6 @@ public final class ImagePanel extends JPanel implements MediaDisplay {
|
||||
public void mouseReleased(MouseEvent e) {
|
||||
if (SwingUtilities.isLeftMouseButton(e)) {
|
||||
|
||||
if (draggingGuideX || draggingGuideY) {
|
||||
draggingGuideX = false;
|
||||
draggingGuideY = false;
|
||||
}
|
||||
|
||||
if (hilightedPoints != null) {
|
||||
Rectangle2D selectionRect = getSelectionRect();
|
||||
if (selectionRect != null) {
|
||||
@@ -1553,7 +1548,9 @@ public final class ImagePanel extends JPanel implements MediaDisplay {
|
||||
if (selectionMode && !doFreeTransform) {
|
||||
//transform = null;
|
||||
}
|
||||
mode = Cursor.DEFAULT_CURSOR;
|
||||
if (mode != MODE_GUIDE_X && mode != MODE_GUIDE_Y) {
|
||||
mode = Cursor.DEFAULT_CURSOR;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user