Browse Source

fix: 去掉不用的代码

fbp/merge
lemon 3 months ago
parent
commit
b658522ff0
  1. 1
      designer-base/src/main/java/com/fine/theme/light/ui/FineCalendarPaneUI.java
  2. 2
      designer-base/src/main/java/com/fr/design/gui/date/UICalendarPanel.java

1
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;

2
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);

Loading…
Cancel
Save