Browse Source

REPORT-32318 frm横向和纵向滚动条图标点击问题

feature/big-screen
pengda 4 years ago
parent
commit
eb185a366a
  1. 2
      designer-form/src/main/java/com/fr/design/mainframe/FormArea.java

2
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);
}

Loading…
Cancel
Save