From bc9e3a46d6e09f1b7634a8a03034d4408310f001 Mon Sep 17 00:00:00 2001 From: hades Date: Fri, 29 Apr 2022 10:39:51 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-70452=20=20fix=20=E7=BB=98=E5=88=B6?= =?UTF-8?q?=E7=A9=BAborder=20&&=20=E6=B8=85=E7=A9=BA=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E9=80=BB=E8=BE=91=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../design/mainframe/alphafine/component/AlphaFineFrame.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/designer-realize/src/main/java/com/fr/design/mainframe/alphafine/component/AlphaFineFrame.java b/designer-realize/src/main/java/com/fr/design/mainframe/alphafine/component/AlphaFineFrame.java index 2c33cd97c7..e05f84b8cf 100644 --- a/designer-realize/src/main/java/com/fr/design/mainframe/alphafine/component/AlphaFineFrame.java +++ b/designer-realize/src/main/java/com/fr/design/mainframe/alphafine/component/AlphaFineFrame.java @@ -599,9 +599,10 @@ public class AlphaFineFrame extends JFrame { // 坑 isShowing返回false 即使textField有内容 getText返回的也是空 if (searchTextField.isShowing() && StringUtils.isEmpty(searchTextField.getText())) { SearchTooltipPopup.getInstance().hide(); + clearLabel.setVisible(false); switchType(selectedType); - } - else if (searchTextField.hasFocus()) { + } else if (searchTextField.hasFocus()) { + clearLabel.setVisible(true); SearchTooltipPopup.getInstance().show(searchTextFieldWrapperPane); }