chore(lab): Changes for v3 stage2
This commit is contained in:
parent
538fc7f414
commit
50fc054c1d
3 changed files with 5 additions and 4 deletions
|
@ -118,6 +118,7 @@ const WorkbenchWrapper = ({ app, design, preload=false, from=false, layout=false
|
|||
const layout = gist.layouts?.[gist._state.view] || gist.layout || true
|
||||
// hand it separately to the design
|
||||
draft = new design({...gist, layout})
|
||||
draft.init()
|
||||
|
||||
// add theme to svg renderer
|
||||
if (gist.renderer === 'svg') draft.use(theme)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue