Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

fix: 86ev993wm-2: Set default zoom for remixed templates

samme-abdul620342301065
diff --git a/packages/app/src/builder-ui/workspace/Workspace.class.ts b/packages/app/src/builder-ui/workspace/Workspace.class.ts
index ae43a73e..bd643fff 100644
--- a/packages/app/src/builder-ui/workspace/Workspace.class.ts
+++ b/packages/app/src/builder-ui/workspace/Workspace.class.ts
@@ -671,6 +671,10 @@ export class Workspace extends EventEmitter {
await delay(100);
this.domElement.style.opacity = '1';
zoomElement.style.transition = origTransition;
+ } else if (isRemixedTemplate) {
+ // For remixed templates, set a default zoom level to show more of the canvas
+ await delay(100);
+ await this.zoomTo(0.5); // Zoom out to 50% to see more components
}
// triggered when agent is loaded ONLY