Bug fix
* Fixed Dynamic Clothes icon size
This commit is contained in:
parent
fc794f969a
commit
03db672299
@ -179,7 +179,7 @@ init python:
|
||||
if y+h > hmax:
|
||||
y = hmax-h
|
||||
|
||||
return Transform(Fixed(*[i[1] for i in sprites], fit_first=True), crop=(x, y, w, h))
|
||||
return Transform(Fixed(*[i[1] for i in sprites], fit_first=True), crop=(x, y, w, h), size=(96, 96), fit="contain", align=(0.5, 0.5))
|
||||
|
||||
def clone(self):
|
||||
"""Creates a clone of this cloth object. Since it requires a parent object it should be used internally only to avoid object depth issue."""
|
||||
|
Loading…
Reference in New Issue
Block a user