|
|
@ -685,8 +685,8 @@ public class EditingMouseListener extends MouseInputAdapter { |
|
|
|
|
|
|
|
|
|
|
|
Rectangle rect = ComponentUtils.getRelativeBounds(currentXCreator); |
|
|
|
Rectangle rect = ComponentUtils.getRelativeBounds(currentXCreator); |
|
|
|
Rectangle bounds = new Rectangle(1, 1, currentXCreator.getWidth() - 2, currentXCreator.getHeight() - 2); |
|
|
|
Rectangle bounds = new Rectangle(1, 1, currentXCreator.getWidth() - 2, currentXCreator.getHeight() - 2); |
|
|
|
bounds.x += (rect.x - designer.getArea().getHorizontalValue()); |
|
|
|
bounds.x += (rect.x - designer.getHorizontalScaleValue()); |
|
|
|
bounds.y += (rect.y - designer.getArea().getVerticalValue()); |
|
|
|
bounds.y += (rect.y - designer.getVerticalScaleValue()); |
|
|
|
if (currentXCreator instanceof XEditorHolder) { |
|
|
|
if (currentXCreator instanceof XEditorHolder) { |
|
|
|
ToolTipEditor.getInstance().resetBounds((XEditorHolder) currentXCreator, bounds, currentEditor.getEditorTarget().getBounds()); |
|
|
|
ToolTipEditor.getInstance().resetBounds((XEditorHolder) currentXCreator, bounds, currentEditor.getEditorTarget().getBounds()); |
|
|
|
} |
|
|
|
} |
|
|
|