File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,6 @@ import { createFile } from './src/utils/exportUtils.js';
2727import sketchDataToJSON from './src/shape/sketchDataToJSON.js' ;
2828import { JSONToBlob } from './src/utils/binaryUtils.js' ;
2929
30- import keycode from 'keycode' ;
31-
3230window . downloadStl = ( ) => {
3331 store . dispatch ( async ( dispatch , getState ) => {
3432 const state = getState ( ) ;
@@ -46,11 +44,12 @@ window.downloadSketch = () => {
4644 } ) ;
4745} ;
4846
49- window . addEventListener ( 'keydown' , ( event ) => {
50- // downloadSketch
51- const key = keycode ( event ) ;
52- if ( key === 's' ) window . downloadSketch ( ) ;
53- } ) ;
47+ // import keycode from 'keycode';
48+ // window.addEventListener('keydown', (event) => {
49+ // // downloadSketch
50+ // const key = keycode(event);
51+ // if (key === 's') window.downloadSketch();
52+ // });
5453
5554
5655// add model to store
You can’t perform that action at this time.
0 commit comments