Fix position on collapsed node

This commit is contained in:
pythongosssss
2024-07-13 21:40:45 +01:00
parent 67e30181b6
commit ea3d09620a
+1 -1
View File
@@ -84,7 +84,7 @@ app.registerExtension({
const res = drawNodeShape.apply(this, arguments);
if (node[LOCKED]) {
ctx.fillText("🔒", node.size[0] - 20, -10);
ctx.fillText("🔒", node.getBounding()[2] - 20, -10);
}
return res;