Write HTML. Render video. Built for agents.
JavaScript aiai-agentsanimationclaude-codeffmpegframeworkgsaphtmlhtml-to-videomcpmotion-graphicspuppeteerrenderingtypescriptvideo-editor
fix(studio): disable the rotation field when the element can't be rotated (#1412)
Carlos Alcaraz Gregor3c5607063f90
diff --git a/packages/studio/src/components/editor/PropertyPanel.tsx b/packages/studio/src/components/editor/PropertyPanel.tsxindex 478df5952d..803c770717 100644--- a/packages/studio/src/components/editor/PropertyPanel.tsx+++ b/packages/studio/src/components/editor/PropertyPanel.tsx@@ -144,6 +144,7 @@ export const PropertyPanel = memo(function PropertyPanel({const manualOffsetEditingDisabled = !element.capabilities.canApplyManualOffset;const manualSizeEditingDisabled = !element.capabilities.canApplyManualSize;+ const manualRotationEditingDisabled = !element.capabilities.canApplyManualRotation;const sourceLabel = element.id ? `#${element.id}` : element.selector;const showEditableSections = element.capabilities.canEditStyles;const manualOffset = readStudioPathOffset(element.element);@@ -495,6 +496,7 @@ export const PropertyPanel = memo(function PropertyPanel({<MetricFieldlabel="R"value={`${displayR}°`}+ disabled={manualRotationEditingDisabled}onCommit={(next) => commitManualRotation(next.replace("°", ""))}/></div>