修复添加游戏文件夹页面缺少灰色背景的问题 (#4065)

This commit is contained in:
辞庐 2025-07-06 15:46:08 +08:00 committed by GitHub
parent c669026312
commit 064b39d753
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,6 +61,8 @@ public final class ProfilePage extends BorderPane implements DecoratorPage {
* @param profile null if creating a new profile.
*/
public ProfilePage(Profile profile) {
getStyleClass().add("gray-background");
this.profile = profile;
String profileDisplayName = Optional.ofNullable(profile).map(Profiles::getProfileDisplayName).orElse("");