Merge branch 'quickfix-2.2.1'
This commit is contained in:
commit
be9651b9d6
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "skinview3d",
|
"name": "skinview3d",
|
||||||
"version": "2.2.0",
|
"version": "2.2.1",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "skinview3d",
|
"name": "skinview3d",
|
||||||
"version": "2.2.0",
|
"version": "2.2.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/three": "^0.136.1",
|
"@types/three": "^0.136.1",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "skinview3d",
|
"name": "skinview3d",
|
||||||
"version": "2.2.0",
|
"version": "2.2.1",
|
||||||
"description": "Three.js powered Minecraft skin viewer",
|
"description": "Three.js powered Minecraft skin viewer",
|
||||||
"main": "libs/skinview3d.js",
|
"main": "libs/skinview3d.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|
|
@ -83,9 +83,9 @@ class AnimationWrapper implements SubAnimationHandle, IAnimation {
|
||||||
|
|
||||||
export class CompositeAnimation implements IAnimation {
|
export class CompositeAnimation implements IAnimation {
|
||||||
|
|
||||||
readonly handles: Set<AnimationHandle & IAnimation> = new Set();
|
readonly handles: Set<SubAnimationHandle & IAnimation> = new Set();
|
||||||
|
|
||||||
add(animation: Animation): AnimationHandle {
|
add(animation: Animation): SubAnimationHandle {
|
||||||
const handle = new AnimationWrapper(animation);
|
const handle = new AnimationWrapper(animation);
|
||||||
handle.remove = (): void => {
|
handle.remove = (): void => {
|
||||||
this.handles.delete(handle);
|
this.handles.delete(handle);
|
||||||
|
|
Loading…
Reference in New Issue