Browse Source

Pull request #2407: REPORT-40525 表单进行拖拽组件,来回切换模板,再拖拽,显示很有问题

Merge in DESIGN/design from ~KERRY/design_10.0:release/10.0 to release/10.0

* commit '38c8fa79a8eff43e559b257964ce2e5a316084b4':
  REPORT-40525 表单进行拖拽组件,来回切换模板,再拖拽,显示很有问题
feature/big-screen
kerry 4 years ago
parent
commit
a77fa3fdca
  1. 4
      designer-form/src/main/java/com/fr/design/mainframe/EditingMouseListener.java

4
designer-form/src/main/java/com/fr/design/mainframe/EditingMouseListener.java

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

Loading…
Cancel
Save