Repository navigation
时间使用实际时间;反转指针移入淡化;Bug 修复 - #487
Merged
Merged
Conversation
Member
|
感谢您的贡献🤝 |
Koharu-Mizuki
pushed a commit
to Koharu-Mizuki/ClassIsland-RB
that referenced
this pull request
Jun 19, 2026
时间使用实际时间;反转指针移入淡化;Bug 修复
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
没弄清为什么这里会出现 NullRef,所以只是套了个 catch,经测试 Bug 不再复现。可能需要更好的修复方法。
推测是这部分代码造成的报错。那部分代码应该没有实际作用,直接移除了。未测试 Bug 是否修复。
这里我没有进行过度修改,只是做了错误修复。
这里推测是 WeatherColor 没有在天气变化后重置所导致问题。需要进一步测试。
这里的逻辑写的比较烧脑,以后需要解耦重构。
我在这里进行了 #465 的修改,改为

「设定课程时间与实际时间的偏移值。增大偏移以抵消铃声提前,减小偏移以抵消铃声滞后。」
相较于建议的「设定课程时间与实际时间的偏移值,正值为提前,负值为推迟。」,
我不确定哪个更合适,可能需要进行商榷。