From f2683f9d40bfb09fdacee719df9a001f55fa9d8f Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Sun, 14 Jan 2024 15:38:32 +0800 Subject: [PATCH] Bug-fix --- assets/UI/Main.css | 2 +- desktop/src/cn/harryh/arkpets/controllers/Homepage.java | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/assets/UI/Main.css b/assets/UI/Main.css index 39a85e0d..e60cbbb9 100644 --- a/assets/UI/Main.css +++ b/assets/UI/Main.css @@ -2,7 +2,7 @@ * At GPL-3.0 License */ -/* JavaFX CSS Reference Guide: https://openjfx.cn/javadoc/18/javafx.graphics/javafx/scene/doc-files/cssref.html */ +/* JavaFX CSS Reference Guide: https://openjfx.cn/javadoc/17/javafx.graphics/javafx/scene/doc-files/cssref.html */ /* JFoenix Wiki: https://github.com/sshahine/JFoenix/wiki */ /******************************************************************************* diff --git a/desktop/src/cn/harryh/arkpets/controllers/Homepage.java b/desktop/src/cn/harryh/arkpets/controllers/Homepage.java index e0baeb06..5f04624c 100644 --- a/desktop/src/cn/harryh/arkpets/controllers/Homepage.java +++ b/desktop/src/cn/harryh/arkpets/controllers/Homepage.java @@ -189,8 +189,7 @@ public void initialize() { wrapper0.setVisible(true); popLoading(e -> { config = Objects.requireNonNull(ArkConfig.getConfig(), "ArkConfig returns a null instance, please check the config file."); - if (config.isAllPhysicConfigZeroed()) - isNewcomer = config.isNewcomer(); + isNewcomer = config.isNewcomer(); initMenuBtn(menuBtn1, 1); initMenuBtn(menuBtn2, 2); initMenuBtn(menuBtn3, 3); @@ -946,7 +945,7 @@ public String getTitle() { @Override public String getHeader() { - return "如需关闭桌宠,请右键系统托盘图标后选择退出。"; + return "如需关闭桌宠,请右键单击桌宠或系统托盘图标,然后选择退出。"; } @Override