Complete Viewport: layout-tab canvas oracle, unique ids, derived scale

The shared driver now activates the layout that owns a viewport and requires
a drawn frame. The host assigns a unique id of at least 2 and derives
custom_scale as height / view_height on every scripted create or edit, as
MVIEW does, so custom_scale is read-only. A control showed the default id 0
is not invisible, so the id matters for uniqueness.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Felix RiestraandClaude Sonnet 5 committed 2026-09-20 18:53:32 +02:00
1 parent 5e6a830782
commit 6e2e073e29
6 files changed
+106 -12

No files matched your search

@@ -752,6 +752,10 @@
},
"height": {
"required": true
},
"custom_scale": {
"read_only": true,
"_comment": "Derived by the host as height / view_height, like MVIEW."
}
}
},