This commit is contained in:
Burning_TNT 2024-01-07 22:40:21 +08:00 committed by GitHub
parent a9159e1a72
commit f558be7193
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");