mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Prevent cursor changing to Move every time you click a tab
This commit is contained in:
@@ -107,7 +107,6 @@ public final class SRearrangingUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Reset and show preview panel
|
// Reset and show preview panel
|
||||||
pnlDocument.setCursor(Cursor.getPredefinedCursor(Cursor.MOVE_CURSOR));
|
|
||||||
pnlPreview.setVisible(true);
|
pnlPreview.setVisible(true);
|
||||||
pnlPreview.setBounds(0, 0, 0, 0);
|
pnlPreview.setBounds(0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
@@ -195,7 +194,7 @@ public final class SRearrangingUtil {
|
|||||||
}
|
}
|
||||||
else if (cellTarget.equals(cellSrc)) {
|
else if (cellTarget.equals(cellSrc)) {
|
||||||
dropzone = Dropzone.NONE;
|
dropzone = Dropzone.NONE;
|
||||||
pnlDocument.setCursor(Cursor.getPredefinedCursor(Cursor.MOVE_CURSOR));
|
pnlDocument.setCursor(Cursor.getDefaultCursor());
|
||||||
pnlPreview.setBounds(0, 0, 0, 0);
|
pnlPreview.setBounds(0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user