Browse Source

代码调整

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

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

Loading…
Cancel
Save