|
|
|
@ -115,13 +115,9 @@ public class TitleInsetImagePane extends JPanel implements UIObserver {
|
|
|
|
|
@Override |
|
|
|
|
public void mouseExited(MouseEvent e) { |
|
|
|
|
super.mouseExited(e); |
|
|
|
|
int x = e.getX(); |
|
|
|
|
int y = e.getY(); |
|
|
|
|
if (x <= 0 || getWidth() <= x || y <= 0 || y >= getHeight()) { |
|
|
|
|
imagePreviewOverlayPane.setVisible(false); |
|
|
|
|
imageDeleteButton.setVisible(false); |
|
|
|
|
imageDeleteButton.setEnabled(false); |
|
|
|
|
} |
|
|
|
|
imagePreviewOverlayPane.setVisible(false); |
|
|
|
|
imageDeleteButton.setVisible(false); |
|
|
|
|
imageDeleteButton.setEnabled(false); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|