|
|
|
@ -177,8 +177,8 @@ public class EditingMouseListener extends MouseInputAdapter {
|
|
|
|
|
if (designer.isDrawLineMode()) { |
|
|
|
|
designer.updateDrawLineMode(e); |
|
|
|
|
} else { |
|
|
|
|
int relativeX = Math.max(0, designer.getRelativeX(e.getX())); |
|
|
|
|
int relativeY = Math.max(0, designer.getRelativeY(e.getY())); |
|
|
|
|
int relativeX = Math.max(0, e.getX()); |
|
|
|
|
int relativeY = Math.max(0, e.getY()); |
|
|
|
|
|
|
|
|
|
if (selectionModel.hasSelectionComponent() |
|
|
|
|
&& selectionModel.getSelection().getRelativeBounds().contains( |
|
|
|
|