Browse Source

代码调整

feature/big-screen
kerry 4 years ago
parent
commit
229bcfcdc7
  1. 6
      designer-form/src/main/java/com/fr/design/mainframe/FormArea.java

6
designer-form/src/main/java/com/fr/design/mainframe/FormArea.java

@ -222,10 +222,6 @@ public class FormArea extends JComponent implements ScrollRulerComponent {
value = value > SHOWVALMAX ? SHOWVALMAX : value; value = value > SHOWVALMAX ? SHOWVALMAX : value;
value = value < SHOWVALMIN ? SHOWVALMIN : value; value = value < SHOWVALMIN ? SHOWVALMIN : value;
scale((int) value); scale((int) value);
JTemplate form = HistoryTemplateListPane.getInstance().getCurrentEditingTemplate();
if (form != null) {
form.fireTargetModified();
}
} }
}; };
@ -784,7 +780,7 @@ public class FormArea extends JComponent implements ScrollRulerComponent {
layout.addCompInterval(layout.getAcualInterval()); layout.addCompInterval(layout.getAcualInterval());
} else if (designer.getRootComponent().acceptType(XWFitLayout.class)) { } else if (designer.getRootComponent().acceptType(XWFitLayout.class)) {
START_VALUE = DEFAULT_SLIDER; START_VALUE = DEFAULT_SLIDER;
reCalculateRoot(slide, true); reCalculateRoot(screenValue, true);
// slidePane.populateBean(slide); // slidePane.populateBean(slide);
} }

Loading…
Cancel
Save