issue-95 get exports working
This commit is contained in:
Submodule web/src/cascade updated: 6b451a0189...4849635f04
@@ -61,7 +61,7 @@ const IdeCascadeStudio = ({ part, saveCode, loading, error }) => {
|
|||||||
canEdit={canEdit}
|
canEdit={canEdit}
|
||||||
isChanges={isChanges && !loading}
|
isChanges={isChanges && !loading}
|
||||||
onSave={() => {}}
|
onSave={() => {}}
|
||||||
onExport={() => {}}
|
onExport={(type) => threejsViewport[`saveShape${type}`]()}
|
||||||
/>
|
/>
|
||||||
<div id="topnav" className="topnav hidden">
|
<div id="topnav" className="topnav hidden">
|
||||||
<a href="https://github.com/zalo/CascadeStudio">
|
<a href="https://github.com/zalo/CascadeStudio">
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
// Install Cascade Studio as a Progressive Web App for Offline Access
|
// Install Cascade Studio as a Progressive Web App for Offline Access
|
||||||
// This needs to be put before ANY HTTP Requests are made, so it can cache them.
|
// This needs to be put before ANY HTTP Requests are made, so it can cache them.
|
||||||
var messageHandlers = {};
|
var messageHandlers = {};
|
||||||
|
var threejsViewport = {};
|
||||||
messageHandlers["resetWorking"] = () => { workerWorking = false; }
|
messageHandlers["resetWorking"] = () => { workerWorking = false; }
|
||||||
var cascadeStudioWorker
|
var cascadeStudioWorker
|
||||||
var workerWorking = false
|
var workerWorking = false
|
||||||
|
|||||||
Reference in New Issue
Block a user