2415 Commits

Author SHA1 Message Date
huanghongxun
6b3152c4b5 Try to fix #462. 2018-10-05 22:27:19 +08:00
yushijinhun
19ea27dece
emmm... Forgot to add DialogAware.java
Related: b9e26a41126d178218955b2a2760fc41eb4ae38e
2018-10-04 12:48:29 +08:00
yushijinhun
b9e26a4112
Add DialogAware & Improve add auth server dialog 2018-10-04 12:45:04 +08:00
yushijinhun
a71aea8e43
Update translation: account.failed.server_response_malformed 2018-10-04 11:56:12 +08:00
yushijinhun
1b1f22b9fa
Fix Java list display error on JDK10
如何重现:
1. 关闭当前选中版本的版本特定设置
2. 重启HMCL
3. 从主界面进入版本设置
4. 打开版本特定设置
5. 展开Java列表

问题:Java列表中的项目除了自定义项外,在外观上仍保持被禁用的状态(但是可以点击)。

原因未知。

此问题只在Java10上出现。
若在进入版本设置界面前,版本特定设置已经被打开,则不会出现此问题。

已知Java项目的styleClass、pseudoClass、disable、disabled属性均正常。

试过但没用的解决方法:
1. 删除HMCL全部CSS
2. 将Java列表默认展开
3. 使用JavaFX原生组件替代JFoenix组件

本提交中的代码由于玄学原因,可以解决此问题。
2018-10-03 22:40:17 +08:00
yushijinhun
705a5659b6
Fix cursor doesn't change when hanging on proxy settings 2018-10-03 21:41:22 +08:00
yushijinhun
4121921aca
Fix compile errors 2018-10-03 19:20:47 +08:00
yushijinhun
8cb4ca0e8b
Remove Settings.font 2018-10-03 17:17:16 +08:00
yushijinhun
6205937a10
Refactor update channel selecting 2018-10-03 17:15:42 +08:00
yushijinhun
2f522b744f
Add MappedProperty & reservedSelectedPropertyFor(CheckBox) 2018-10-03 17:09:12 +08:00
yushijinhun
b8a84f831a
Refactor proxy settings 2018-10-03 16:43:48 +08:00
yushijinhun
5f9490d780
Add SafeStringConverter & Refactor font settings 2018-10-03 16:38:21 +08:00
huanghongxun
a1c5b87b55 Fix crash when no game installed 2018-10-03 15:55:38 +08:00
yushijinhun
641e308c53
Remove right graphic of Game List&Launcher Settings 2018-10-03 13:40:09 +08:00
yushijinhun
64bc70a15d
Fix Account/VersionListItem can be unselected 2018-10-03 13:01:30 +08:00
yushijinhun
acadbdb5c9
Fix potential NPE
Related: 3323ea2be07fa6cbdb6ea4412187ced51d09308c
2018-10-03 12:10:19 +08:00
yushijinhun
3323ea2be0
Remove JFXButton in AdvancedListItem 2018-10-03 12:02:17 +08:00
huanghongxun
45f55b2075 Adjust looking of LeftPaneController 2018-10-03 01:32:55 +08:00
yushijinhun
372005dae1
Partially revert 223c2bc7c71f6f60fc53c22cc8511ee3d3edad61 2018-10-02 22:07:57 +08:00
yushijinhun
2c7ca6d354
Remove some methods in Lang 2018-10-02 22:01:42 +08:00
yushijinhun
e21f315239
Fix VersionNumber.equals() and hashCode() may not be consistent 2018-10-02 21:25:29 +08:00
yushijinhun
223c2bc7c7
Change update.bubble.subtitle to 'Click here to upgrade' 2018-10-02 21:15:14 +08:00
yushijinhun
3facbba4ee
Use databind for update bubble 2018-10-02 21:15:14 +08:00
yushijinhun
b8bf56c8c3
Add pseudo class 'first' for 'options-list-item'
Related: caf85d2a924e6707d7d7448a2a148d984feae42f
2018-10-02 20:38:41 +08:00
huanghongxun
2fa08e0a70 Change default profile directory to ".minecraft" 2018-10-02 18:34:09 +08:00
huanghongxun
8e1e13058b Fix #463 2018-10-02 18:33:48 +08:00
huanghongxun
92520e46a3 Remove settings entrance in main page 2018-10-02 18:11:52 +08:00
huanghongxun
6ae6c9c971 Name changes 2018-10-02 18:11:13 +08:00
huanghongxun
caf85d2a92 Fix showing a gray horizontal line in component list cell 2018-10-02 18:06:24 +08:00
huanghongxun
030b577dee Add an explicit entry to game list page 2018-10-02 12:44:36 +08:00
huanghongxun
83516ba679 Fix #461 2018-10-02 12:15:52 +08:00
huanghongxun
c8f74ee8e3 Add test game in game list page 2018-10-02 11:47:53 +08:00
yushijinhun
c50e41ab91
Use setItems in DatapackListPage 2018-10-01 21:01:43 +08:00
yushijinhun
c03a0feb75
Refactor ProfileList 2018-10-01 20:59:11 +08:00
yushijinhun
7da5b8fbc8
Add AutomatedToggleGroup & Refactor AccountList 2018-10-01 20:39:00 +08:00
yushijinhun
83f7e61d37
Add selectedItemPropertyFor(ToggleGroup) 2018-10-01 20:03:57 +08:00
yushijinhun
86765275c8
Make SelectionModelSelectedItemProperty a util class 2018-10-01 15:38:12 +08:00
yushijinhun
a01e15d841
Add MultiStepBinding&ReadWriteComposedProperty 2018-10-01 15:35:39 +08:00
yushijinhun
5e5db332d0
Remove 'Downloads' paragraph in readme, as GitHub Releases is available 2018-10-01 11:29:12 +08:00
huanghongxun
2de2f45124 Fix always showing horizontal scrollbar of game list popup in main page 2018-09-30 20:07:57 +08:00
huanghongxun
b1b3eb9369 Fix always using custom common directory 2018-09-30 20:07:57 +08:00
yushijinhun
507665cd91
Fix #460 2018-09-30 19:45:39 +08:00
yushijinhun
c779172cc2
Fix custom toggle is not selected when using customized java 2018-09-30 19:30:22 +08:00
yushijinhun
684813e131
Refactor Java lookup 2018-09-30 19:18:29 +08:00
huanghongxun
76ef47efc4 Suppress exceptions thrown when checking Java installation 2018-09-30 13:22:42 +08:00
huanghongxun
71a8fa0e66 Display platform of java installations 2018-09-28 19:30:41 +08:00
huanghongxun
48d98b2424 Conceal NPE 2018-09-26 19:07:09 +08:00
huanghongxun
5a0e17b121 Fix crash when user set common directory to an invalid path 2018-09-26 19:00:31 +08:00
huanghongxun
5f686f7205 Fix crash when modpack to be installed is malformed. v3.2.104 2018-09-26 13:13:44 +08:00
huanghongxun
518969d2f2 Fix JsonParseException 2018-09-26 13:13:21 +08:00