Browse Source

REPORT-46779REPORT-46779 修复参数面板高度为负导致前端显示异常的问题

bugfix/10.0
vito 4 years ago
parent
commit
7617e9263f
  1. 3
      designer-base/src/main/java/com/fr/design/gui/icontainer/UIModeControlContainer.java

3
designer-base/src/main/java/com/fr/design/gui/icontainer/UIModeControlContainer.java

@ -166,6 +166,9 @@ public class UIModeControlContainer extends JLayeredPane {
}
// 拖动的距离,为正值表示往下拖动,为负值表示往上拖动
int deltaY = e.getY();
if (toolPaneY < 0) {
toolPaneY = 0;
}
toolPaneY += deltaY;
onResize(toolPaneY);
refreshContainer();

Loading…
Cancel
Save