fix skin viewer

This commit is contained in:
Pig Fang 2020-02-06 09:56:09 +08:00
parent d6834a2ead
commit 5b7055611d

View File

@ -56,7 +56,7 @@ const Viewer: React.FC<Props> = props => {
const viewer = new skinview3d.SkinViewer({
domElement: container,
width: container.clientWidth,
height: container.clientWidth,
height: container.clientHeight,
skinUrl: props.skin ?? SkinSteve,
capeUrl: props.cape ?? '',
detectModel: false,