Files
artcraft/frontend/libs
Tanish Manku 331f9a3c31 PromptBox3D: drive letterbox from the new aspect-ratio picker
For models with `supportsNewAspectRatio()`, the picker only stored a
`CommonAspectRatio` in local state for the API request payload — it
never called `onAspectRatioSelect`, so the editor's render-camera
aspect and the Letterbox stayed on the previous setting.

Wrap the picker's callback to also map the chosen `CommonAspectRatio`
to the closest `CameraAspectRatio` and forward it through
`onAspectRatioSelect`. `Auto*` ratios have no fixed shape, so they
leave the letterbox alone.
2026-05-01 06:45:26 -07:00
..
2026-04-23 13:43:17 +07:00
2026-04-01 20:03:59 +07:00