This commit is contained in:
Nick Fisher
2024-05-16 00:16:23 +08:00
parent 582557353c
commit a507f789f1

View File

@@ -222,7 +222,9 @@ class DartFilamentJSExportViewer {
viewer.removeEntity(entity).toJS; viewer.removeEntity(entity).toJS;
@JSExport() @JSExport()
JSPromise clearEntities() => viewer.clearEntities().toJS; JSPromise clearEntities() {
return viewer.clearEntities().toJS;
}
@JSExport() @JSExport()
JSPromise zoomBegin() => viewer.zoomBegin().toJS; JSPromise zoomBegin() => viewer.zoomBegin().toJS;