Browse Source

REPORT-36619 fix

bugfix/10.0
hades 4 years ago
parent
commit
4516b03301
  1. 2
      designer-form/src/main/java/com/fr/design/designer/beans/models/StateModel.java

2
designer-form/src/main/java/com/fr/design/designer/beans/models/StateModel.java

@ -306,7 +306,7 @@ public class StateModel {
if (paramComponent != null) { if (paramComponent != null) {
yOffset = paramComponent.getHeight(); yOffset = paramComponent.getHeight();
} }
bounds.y = bounds.y - yOffset; bounds.y = Math.max(bounds.y - yOffset, 0);
if ((x != currentX) || (y != currentY)) { if ((x != currentX) || (y != currentY)) {
ArrayList<XCreator> creators = getHotspotCreators(bounds, designer.getRootComponent()); ArrayList<XCreator> creators = getHotspotCreators(bounds, designer.getRootComponent());

Loading…
Cancel
Save