Implement minWidth property + refactor default property of new containers and main container (#34)
All checks were successful
continuous-integration/drone/push Build is passing

Co-authored-by: Eric NGUYEN <enguyen@techform.fr>
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/34
This commit is contained in:
Siklos 2022-08-17 11:14:19 -04:00
parent 60329ef143
commit 2945febd91
12 changed files with 137 additions and 44 deletions

View file

@ -18,6 +18,7 @@ describe.concurrent('Elements sidebar', () => {
y: 0,
width: 2000,
height: 100,
minWidth: 1,
XPositionReference: XPositionReference.Left,
isRigidBody: false,
isAnchor: false
@ -50,6 +51,7 @@ describe.concurrent('Elements sidebar', () => {
y: 0,
width: 2000,
height: 100,
minWidth: 1,
isRigidBody: false,
isAnchor: false,
XPositionReference: XPositionReference.Left
@ -106,6 +108,7 @@ describe.concurrent('Elements sidebar', () => {
parentId: '',
x: 0,
y: 0,
minWidth: 1,
width: 2000,
height: 100,
XPositionReference: XPositionReference.Left,
@ -124,6 +127,7 @@ describe.concurrent('Elements sidebar', () => {
parentId: 'main',
x: 0,
y: 0,
minWidth: 1,
width: 0,
height: 0,
isRigidBody: false,
@ -143,6 +147,7 @@ describe.concurrent('Elements sidebar', () => {
parentId: 'main',
x: 0,
y: 0,
minWidth: 1,
width: 0,
height: 0,
XPositionReference: XPositionReference.Left,
@ -182,6 +187,7 @@ describe.concurrent('Elements sidebar', () => {
parentId: '',
x: 0,
y: 0,
minWidth: 1,
width: 2000,
height: 100,
XPositionReference: XPositionReference.Left,
@ -199,6 +205,7 @@ describe.concurrent('Elements sidebar', () => {
parentId: 'main',
x: 0,
y: 0,
minWidth: 1,
width: 0,
height: 0,
XPositionReference: XPositionReference.Left,