Refactor behaviors into a single function (#35)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/35
This commit is contained in:
parent
f34ba64f7e
commit
0e161ffce0
4 changed files with 29 additions and 13 deletions
|
@ -59,7 +59,7 @@ export const GetDefaultContainerProps = (
|
|||
y,
|
||||
width: containerConfig.Width ?? containerConfig.MinWidth ?? parent.properties.width,
|
||||
height: containerConfig.Height ?? parent.properties.height,
|
||||
isRigidBody: false,
|
||||
isRigidBody: false, // set this to true to replicate Florian's project
|
||||
isAnchor: false,
|
||||
XPositionReference: containerConfig.XPositionReference ?? XPositionReference.Left,
|
||||
minWidth: containerConfig.MinWidth ?? 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue