mirror of
https://github.com/penpot/penpot-mcp.git
synced 2026-04-25 11:18:37 +00:00
PenpotUtils.importImage: Fix assigned shape name
This commit is contained in:
parent
3dc2411130
commit
528a2e15f2
@ -211,7 +211,7 @@ export class PenpotUtils {
|
||||
|
||||
// create a rectangle shape
|
||||
const rect = penpot.createRectangle();
|
||||
rect.name = "${escapedFileName}";
|
||||
rect.name = name;
|
||||
|
||||
// calculate dimensions
|
||||
let rectWidth, rectHeight;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user