Merged PR 17: Implement rigid body Fix multiple bugs
Implement rigid body Fix saveload bug: having null elements Fix events being duplicated and not being removed
This commit is contained in:
parent
d2e1d9f0a4
commit
616fe3e9ac
22 changed files with 804 additions and 95 deletions
|
@ -16,14 +16,15 @@ describe.concurrent('Elements sidebar', () => {
|
|||
x: 0,
|
||||
y: 0,
|
||||
width: 2000,
|
||||
height: 100
|
||||
height: 100,
|
||||
isRigidBody: false
|
||||
},
|
||||
userData: {}
|
||||
}}
|
||||
isOpen={true}
|
||||
isHistoryOpen={false}
|
||||
SelectedContainer={null}
|
||||
onPropertyChange={() => {}}
|
||||
OnPropertyChange={() => {}}
|
||||
SelectContainer={() => {}}
|
||||
DeleteContainer={() => {}}
|
||||
AddContainer={() => {}}
|
||||
|
@ -44,7 +45,8 @@ describe.concurrent('Elements sidebar', () => {
|
|||
x: 0,
|
||||
y: 0,
|
||||
width: 2000,
|
||||
height: 100
|
||||
height: 100,
|
||||
isRigidBody: false
|
||||
},
|
||||
userData: {}
|
||||
};
|
||||
|
@ -54,7 +56,7 @@ describe.concurrent('Elements sidebar', () => {
|
|||
isOpen={true}
|
||||
isHistoryOpen={false}
|
||||
SelectedContainer={MainContainer}
|
||||
onPropertyChange={() => {}}
|
||||
OnPropertyChange={() => {}}
|
||||
SelectContainer={() => {}}
|
||||
DeleteContainer={() => {}}
|
||||
AddContainer={() => {}}
|
||||
|
@ -98,7 +100,8 @@ describe.concurrent('Elements sidebar', () => {
|
|||
x: 0,
|
||||
y: 0,
|
||||
width: 2000,
|
||||
height: 100
|
||||
height: 100,
|
||||
isRigidBody: false
|
||||
},
|
||||
userData: {}
|
||||
};
|
||||
|
@ -113,7 +116,8 @@ describe.concurrent('Elements sidebar', () => {
|
|||
x: 0,
|
||||
y: 0,
|
||||
width: 0,
|
||||
height: 0
|
||||
height: 0,
|
||||
isRigidBody: false
|
||||
},
|
||||
userData: {}
|
||||
}
|
||||
|
@ -129,7 +133,8 @@ describe.concurrent('Elements sidebar', () => {
|
|||
x: 0,
|
||||
y: 0,
|
||||
width: 0,
|
||||
height: 0
|
||||
height: 0,
|
||||
isRigidBody: false
|
||||
},
|
||||
userData: {}
|
||||
}
|
||||
|
@ -140,7 +145,7 @@ describe.concurrent('Elements sidebar', () => {
|
|||
isOpen={true}
|
||||
isHistoryOpen={false}
|
||||
SelectedContainer={MainContainer}
|
||||
onPropertyChange={() => {}}
|
||||
OnPropertyChange={() => {}}
|
||||
SelectContainer={() => {}}
|
||||
DeleteContainer={() => {}}
|
||||
AddContainer={() => {}}
|
||||
|
@ -164,7 +169,8 @@ describe.concurrent('Elements sidebar', () => {
|
|||
x: 0,
|
||||
y: 0,
|
||||
width: 2000,
|
||||
height: 100
|
||||
height: 100,
|
||||
isRigidBody: false
|
||||
},
|
||||
userData: {}
|
||||
};
|
||||
|
@ -178,7 +184,8 @@ describe.concurrent('Elements sidebar', () => {
|
|||
x: 0,
|
||||
y: 0,
|
||||
width: 0,
|
||||
height: 0
|
||||
height: 0,
|
||||
isRigidBody: false
|
||||
},
|
||||
userData: {}
|
||||
};
|
||||
|
@ -194,7 +201,7 @@ describe.concurrent('Elements sidebar', () => {
|
|||
isOpen={true}
|
||||
isHistoryOpen={false}
|
||||
SelectedContainer={SelectedContainer}
|
||||
onPropertyChange={() => {}}
|
||||
OnPropertyChange={() => {}}
|
||||
SelectContainer={selectContainer}
|
||||
DeleteContainer={() => {}}
|
||||
AddContainer={() => {}}
|
||||
|
@ -217,7 +224,7 @@ describe.concurrent('Elements sidebar', () => {
|
|||
isOpen={true}
|
||||
isHistoryOpen={false}
|
||||
SelectedContainer={SelectedContainer}
|
||||
onPropertyChange={() => {}}
|
||||
OnPropertyChange={() => {}}
|
||||
SelectContainer={selectContainer}
|
||||
DeleteContainer={() => {}}
|
||||
AddContainer={() => {}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue