Browse Source

REPORT-148456 fix:【NewUI】折叠面板动画问题修复

fbp/feature^2
Levy.Xie-解安森 3 days ago
parent
commit
965671fbf7
  1. 1
      designer-base/src/main/java/com/fr/design/foldablepane/UIExpandablePane.java

1
designer-base/src/main/java/com/fr/design/foldablepane/UIExpandablePane.java

@ -128,6 +128,7 @@ public class UIExpandablePane extends JPanel {
HeaderPane hp = (HeaderPane) e.getSource(); HeaderPane hp = (HeaderPane) e.getSource();
if (!Animator.useAnimation()) { if (!Animator.useAnimation()) {
contentPanel.setVisible(!showExpand); contentPanel.setVisible(!showExpand);
showExpand = !showExpand;
} else if (!animator.isRunning()) { } else if (!animator.isRunning()) {
animator.start(); animator.start();
} }

Loading…
Cancel
Save