Skip to content

allow fixedPosition for chips#119

Closed
Sang-it wants to merge 2 commits into
mainfrom
implement-fixed-position-support
Closed

allow fixedPosition for chips#119
Sang-it wants to merge 2 commits into
mainfrom
implement-fixed-position-support

Conversation

@Sang-it
Copy link
Copy Markdown
Contributor

@Sang-it Sang-it commented Jun 3, 2026

No description provided.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
matchpack Ready Ready Preview, Comment Jun 4, 2026 2:59am

Request Review

}
}
}
return pinToNetworkMap
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesnt need to be an instance method (seperate file/function)

componentId: `partition_${group.partitionIndex}`,
pads,
availableRotationDegrees: [0] as Array<0 | 90 | 180 | 270>, // Keep partitions unrotated
availableRotationDegrees: [0] as Array<0 | 90 | 180 | 270>,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔

absoluteCenter: { x: chip.fixedPosition.x, y: chip.fixedPosition.y },
})

this.activeSubSolver.packedComponents.push({
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can't modify an activeSubSolver

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can modify the constructor to accept other arguments

}

if (this.activeSubSolver.solved) {
// Apply the packing result to create the layout
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are you removing comments and increasing the size of the diff- keep your PRs minimal and to the point, i don't want to have to evaluate the value of the comment when reading the PR

@Sang-it Sang-it closed this Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants