Browse Source

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

Merge in DESIGN/design from ~VITO/c-design:REPORT-46779 to bugfix/10.0

* commit '7617e9263fa5685fe61b193c0fa424d584284c88':
  REPORT-46779REPORT-46779 修复参数面板高度为负导致前端显示异常的问题
bugfix/10.0
ju|剧浩宇 4 years ago
parent
commit
fe555315fa
  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