mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-10 20:37:30 -04:00
fix updateSkin
This commit is contained in:
parent
6d617216c7
commit
6f0dfba4aa
@ -125,8 +125,7 @@ public class SkinCanvas extends Group {
|
|||||||
int multiple = Math.max((int) (1024 / skin.getWidth()), 1);
|
int multiple = Math.max((int) (1024 / skin.getWidth()), 1);
|
||||||
if (multiple > 1)
|
if (multiple > 1)
|
||||||
this.skin = SkinHelper.enlarge(this.skin, multiple, multiple);
|
this.skin = SkinHelper.enlarge(this.skin, multiple, multiple);
|
||||||
if (this.isSlim != isSlim)
|
updateSkinModel(isSlim, cape != null);
|
||||||
updateSkinModel(isSlim, cape != null);
|
|
||||||
bindMaterial(root);
|
bindMaterial(root);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user