From 229bcfcdc7ab97a30791d2ecce5ebfdd982f3c69 Mon Sep 17 00:00:00 2001 From: kerry Date: Thu, 6 Aug 2020 14:59:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/fr/design/mainframe/FormArea.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/designer-form/src/main/java/com/fr/design/mainframe/FormArea.java b/designer-form/src/main/java/com/fr/design/mainframe/FormArea.java index c0642dc840..05edb31928 100644 --- a/designer-form/src/main/java/com/fr/design/mainframe/FormArea.java +++ b/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); - } + } /**