mirror of
https://github.com/stan-smith/FossFLOW.git
synced 2025-12-27 16:39:06 -05:00
feat: updates connector width defaults
This commit is contained in:
@@ -52,7 +52,7 @@ export const ConnectorControls = ({ id }: Props) => {
|
||||
marks
|
||||
step={10}
|
||||
min={10}
|
||||
max={40}
|
||||
max={30}
|
||||
value={connector.width}
|
||||
onChange={(e, newWidth) => {
|
||||
onConnectorUpdated({ width: newWidth as number });
|
||||
|
||||
@@ -27,7 +27,7 @@ interface ConnectorDefaults {
|
||||
}
|
||||
|
||||
export const CONNECTOR_DEFAULTS: ConnectorDefaults = {
|
||||
width: 20,
|
||||
width: 10,
|
||||
// The boundaries of the search area for the pathfinder algorithm
|
||||
// is the grid that encompasses the two nodes + the offset below.
|
||||
searchOffset: { x: 3, y: 3 },
|
||||
|
||||
Reference in New Issue
Block a user