From b658522ff03daf95a61193a75ff9566a3d589367 Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 23 Sep 2024 23:20:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8E=BB=E6=8E=89=E4=B8=8D=E7=94=A8?= =?UTF-8?q?=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/fine/theme/light/ui/FineCalendarPaneUI.java | 1 - .../src/main/java/com/fr/design/gui/date/UICalendarPanel.java | 2 -- 2 files changed, 3 deletions(-) diff --git a/designer-base/src/main/java/com/fine/theme/light/ui/FineCalendarPaneUI.java b/designer-base/src/main/java/com/fine/theme/light/ui/FineCalendarPaneUI.java index 5edfa07bbc..f09d612699 100644 --- a/designer-base/src/main/java/com/fine/theme/light/ui/FineCalendarPaneUI.java +++ b/designer-base/src/main/java/com/fine/theme/light/ui/FineCalendarPaneUI.java @@ -1,6 +1,5 @@ package com.fine.theme.light.ui; -import com.fine.theme.utils.FineUIScale; import com.formdev.flatlaf.ui.FlatRoundBorder; import com.formdev.flatlaf.ui.FlatUIUtils; import com.fr.design.gui.date.UICalendarPanel; diff --git a/designer-base/src/main/java/com/fr/design/gui/date/UICalendarPanel.java b/designer-base/src/main/java/com/fr/design/gui/date/UICalendarPanel.java index 99356b7ad2..e0f668951c 100644 --- a/designer-base/src/main/java/com/fr/design/gui/date/UICalendarPanel.java +++ b/designer-base/src/main/java/com/fr/design/gui/date/UICalendarPanel.java @@ -55,8 +55,6 @@ import static com.fine.theme.utils.FineUIStyle.setStyle; public class UICalendarPanel extends JPanel { private static final String UI_CLASS_ID = "CalendarPaneUI"; -// private static final Font FONT_UI = DesignUtils.getDefaultGUIFont().applySize(scale(12)); -// private static final Font FONT_BLACK = new Font(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Black_Font"), Font.PLAIN, scale(12)); private static final int WEEKDAY_COUNT = 7; private static final int TOTAL_DAYS_COUNT = 42; protected final Insets defaultInsets = new Insets(0, 6, 0, 6);