Merge pull request #555 from LloydNicholson/fix/addsolid-pixel-aspect

# Conflicts:
#	crates/script/src/tests.rs
This commit is contained in:
Claude
2026-10-10 12:49:11 +00:00
2 changed files with 20 additions and 0 deletions
+1
View File
@@ -1235,6 +1235,7 @@ LayerCollection.prototype = {
if (name !== undefined) p.name = String(name);
if (width !== undefined) p.width = Math.round(__num(width, "width"));
if (height !== undefined) p.height = Math.round(__num(height, "height"));
if (pixelAspect !== undefined) p.pixelAspect = __num(pixelAspect, "pixelAspect");
return this.__dur(this.__new(__call("layer.newSolid", p)), duration);
},
addNull: function (duration) { return this.__dur(this.__new(__call("layer.newNull", { comp: this.__comp })), duration); },