feat: pattern editor
This commit is contained in:
@@ -163,6 +163,9 @@ class NodeCanvasGrid extends Component {
|
||||
return;
|
||||
}
|
||||
|
||||
// Set the data-item-count attribute for proper grid layout
|
||||
gridContainer.setAttribute('data-item-count', validNodes.length);
|
||||
|
||||
validNodes.forEach(node => {
|
||||
const nodeItem = this.createNodeCanvasItem(node);
|
||||
gridContainer.appendChild(nodeItem);
|
||||
|
||||
Reference in New Issue
Block a user