mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2024-12-15 06:50:12 +08:00
Fix (#2622)
This commit is contained in:
parent
a9159e1a72
commit
f558be7193
@ -206,7 +206,7 @@ public class InstallerItem extends Control {
|
||||
pane.pseudoClassStateChanged(CARD, control.style == Style.CARD);
|
||||
|
||||
if (control.imageUrl != null) {
|
||||
ImageView view = new ImageView(FXUtils.newRemoteImage(control.imageUrl));
|
||||
ImageView view = new ImageView(FXUtils.newBuiltinImage(control.imageUrl));
|
||||
Node node = FXUtils.limitingSize(view, 32, 32);
|
||||
node.setMouseTransparent(true);
|
||||
node.getStyleClass().add("installer-item-image");
|
||||
|
Loading…
Reference in New Issue
Block a user