feat(editor): the canvas draws the view the Rust core composed; denylist and anatomy dependency removed
This commit is contained in:
1 parent
43a370aed1
commit
09a6cf7def
11 files changed
+165
-158
No files matched your search
@@ -132,5 +132,5 @@ export function sheetFromBundle(bundle: BundledSheetData): SheetIndex {
|
||||
const session = coreRuntime().sheet(JSON.stringify(bundle))
|
||||
const data = session.call<SheetIndexData>('index_data', '')
|
||||
if (!data.ok) throw new Error(`sheet refused by the core: ${data.kind}`)
|
||||
return new SheetIndex(data.value, bundle.assets, new SheetOps(session))
|
||||
return new SheetIndex(data.value, new SheetOps(session))
|
||||
}
|
||||
Reference in new issue
Block a user