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 fe692388b9..be9b4faa6f 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 @@ -770,7 +770,7 @@ public class FormArea extends JComponent implements ScrollRulerComponent { int scrollMax = orientation == 1 ? verticalMax : horicalMax; //防止滚动条到达低端还可以继续点击移动(滚动条最大范围不变时,newValue要在范围之内) if (oldmax == scrollMax + visi && newValue > scrollMax) { - return new Point(oldValue, oldmax); + return new Point(scrollMax, oldmax); } return new Point(newValue, max); }