fix vegalite size

This commit is contained in:
Ruben Fiszel
2023-06-13 13:19:33 +02:00
parent d87e5ea4fe
commit 7e774fb29d
2 changed files with 3 additions and 1 deletions

View File

@@ -52,7 +52,7 @@
actions: false,
renderer: canvas ? 'canvas' : 'svg',
height: h - 75,
width: w - 75
width: w - 100
}
)
</script>

View File

@@ -108,6 +108,7 @@ export function getAllModules(flow: Flow): FlowModule[] {
].flat()
return modules
}
function getExpr(x: InputTransform | undefined) {
if (x == undefined) return []
return x.type === 'javascript' ? [x.expr] : []
@@ -148,6 +149,7 @@ export function getDependentComponents(id: string, flow: Flow): Record<string, s
.filter((x) => x[1].length > 0)
)
}
export function getStepPropPicker(
flowState: FlowState,
parentModule: FlowModule | undefined,