mirror of
https://github.com/HMCL-dev/HMCL
synced 2026-08-19 22:23:08 -04:00
Fix: 防止 DisabledJavaItem 的 Label 响应鼠标事件 (#6563)
This commit is contained in:
parent
7aeb1642b1
commit
a50e327f70
1 changed files with 1 additions and 0 deletions
|
|
@ -151,6 +151,7 @@ public final class JavaRestorePage extends ListPageBase<JavaRestorePage.Disabled
|
|||
BorderPane root = new BorderPane();
|
||||
|
||||
Label label = new Label(skinnable.path);
|
||||
label.setMouseTransparent(true);
|
||||
BorderPane.setAlignment(label, Pos.CENTER_LEFT);
|
||||
root.setCenter(label);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue