diff --git a/design/prototypes/reframe-20261014/design.js b/design/prototypes/reframe-20261014/design.js index a9aa2593..60eecde1 100644 --- a/design/prototypes/reframe-20261014/design.js +++ b/design/prototypes/reframe-20261014/design.js @@ -1566,6 +1566,9 @@ document.addEventListener('click', (e) => { state.kind = s === 'video' ? 'video' : 'image'; state.wf = s === 'video' ? 'h3' : 'qwen'; state.result = s === 'video' ? 'landscape' : s; + if (s === 'portrait') state.params.aspect = '2:3'; + else if (s === 'landscape') state.params.aspect = '3:2'; + else if (s === 'video') state.params.aspect = '16:9'; state.compare = false; if (s === 'video') { state.attachments = ['assets/coast.jpg', 'assets/zhiyuhuiben.jpg'];