Skip to content

账户选择 popup 为已选择的账户添加底色#6111

Open
CiiLu wants to merge 2 commits into
HMCL-dev:mainfrom
CiiLu:qwqwqwqwqwqwqwqwq
Open

账户选择 popup 为已选择的账户添加底色#6111
CiiLu wants to merge 2 commits into
HMCL-dev:mainfrom
CiiLu:qwqwqwqwqwqwqwqwq

Conversation

@CiiLu
Copy link
Copy Markdown
Contributor

@CiiLu CiiLu commented May 17, 2026

No description provided.


for (Account account : Accounts.getAccounts()) {
AccountAdvancedListItem item = new AccountAdvancedListItem(account);
if (Accounts.getSelectedAccount() == account) item.setStyle("-fx-background-color: -monet-secondary-container-transparent-50;");
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

不要这样内嵌样式。

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