File tree 3 files changed +4
-4
lines changed
java/org/jackhuang/hmcl/ui/account
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 20
20
import com .jfoenix .controls .JFXButton ;
21
21
import com .jfoenix .controls .JFXRadioButton ;
22
22
import com .jfoenix .effects .JFXDepthManager ;
23
+ import javafx .beans .binding .Bindings ;
23
24
import javafx .geometry .Pos ;
24
25
import javafx .scene .Cursor ;
25
26
import javafx .scene .canvas .Canvas ;
@@ -159,8 +160,7 @@ public AccountListItemSkin(AccountListItem skinnable) {
159
160
btnUpload .getStyleClass ().add ("toggle-icon4" );
160
161
btnUpload .setGraphic (SVG .CHECKROOM .createIcon (Theme .blackFill (), -1 ));
161
162
FXUtils .installFastTooltip (btnUpload , i18n ("account.skin.upload" ));
162
- spinnerUpload .managedProperty ().bind (spinnerUpload .visibleProperty ());
163
- spinnerUpload .visibleProperty ().bind (skinnable .canUploadSkin ());
163
+ btnUpload .disableProperty ().bind (Bindings .not (skinnable .canUploadSkin ()));
164
164
spinnerUpload .setContent (btnUpload );
165
165
spinnerUpload .getStyleClass ().add ("small-spinner-pane" );
166
166
right .getChildren ().add (spinnerUpload );
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ account.register=註冊
96
96
account.manage =帳戶清單
97
97
account.copy_uuid =複製該帳戶的 UUID
98
98
account.methods =登入方式
99
- account.methods.authlib_injector =authlib-injector 登入
99
+ account.methods.authlib_injector =外置登入
100
100
account.methods.microsoft =Microsoft 帳戶
101
101
account.methods.microsoft.birth =如何變更帳戶出生日期
102
102
account.methods.microsoft.deauthorize =移除應用存取權
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ account.register=注册
97
97
account.manage =账户列表
98
98
account.copy_uuid =复制该账户的 UUID
99
99
account.methods =登录方式
100
- account.methods.authlib_injector =外置登录 (authlib-injector)
100
+ account.methods.authlib_injector =外置登录
101
101
account.methods.microsoft =微软账户
102
102
account.methods.microsoft.birth =如何更改账户出生日期
103
103
account.methods.microsoft.close_page =已完成微软账户授权,接下来启动器还需要完成其余登录步骤。你现在可以关闭本页面了。
You can’t perform that action at this time.
0 commit comments