Skip to content

看看有没有什么要改进的#365

Closed
liuliuliu0127 wants to merge 57 commits into
26.1.xfrom
SettingExtend
Closed

看看有没有什么要改进的#365
liuliuliu0127 wants to merge 57 commits into
26.1.xfrom
SettingExtend

Conversation

@liuliuliu0127

Copy link
Copy Markdown
Collaborator

目前部分list类设置还没有popup二级菜单,而且二级菜单已知在单窗口式模式下打开以后有时会导致clickgui背景颜色闪烁。
关闭这个pullrequest之前请明确告知原因

…从建造者模式改成了直接方法调用,根据这个修复合并后的冲突
@liuliuliu0127 liuliuliu0127 changed the title 不用真merge进去,看看有没有什么要改进的 看看有没有什么要改进的 Jul 2, 2026
@liuliuliu0127 liuliuliu0127 requested a review from slmpc July 3, 2026 13:58

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

添加ColorListSetting能在什么地方用到吗,我认为这个Setting是不需要的

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不要移除现有的注释,或者可以将其翻译为中文,但是不要移除这里的JavaDoc

Screen screen = mc.screen;
if (screen != null) {
mc.onTextInputFocusChange(screen, true);
refCount++;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

对于这里的修改是用于什么的,我认为需要通过注释来说明

@slmpc slmpc Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

对于这里大量的重复代码,我认为需要进行抽象来简化和增强可维护性,而不是复制粘贴多次。
这里大量重复代码指的是多个集合Setting的Widget,我认为这里可以把基类命名为AbstractSetSettingWidget

@liuliuliu0127 liuliuliu0127 deleted the SettingExtend branch July 4, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants