File tree 2 files changed +2
-7
lines changed
2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,7 @@ var buffer = {};
8
8
var t = i18n . t ; // The mother of all shortcuts
9
9
var canvas = rpRequire ( 'canvas' ) ;
10
10
var dataURI = require ( 'datauri' ) ; // Save rasters as a single URI
11
- var remote = require ( 'remote' ) ;
12
- var mainWindow = remote . getCurrentWindow ( ) ;
11
+ var mainWindow = require ( 'electron' ) . remote . getCurrentWindow ( ) ;
13
12
14
13
mode . pageInitReady = function ( ) {
15
14
// Initialize the paper.js canvas with wrapper margin and other settings.
@@ -23,7 +22,7 @@ mode.pageInitReady = function () {
23
22
bottom : 40
24
23
}
25
24
} ) ;
26
- }
25
+ } ;
27
26
28
27
29
28
// Trigger load init resize only after paper has called this function.
Original file line number Diff line number Diff line change @@ -92,10 +92,6 @@ paper.resetSpiral = function(callback) {
92
92
93
93
// Automatically paint the single spiral path.
94
94
paper . autoPaintSpiral = function ( ) {
95
- // Wait for all these commands to stream in before starting to actually
96
- // run them. This ensures a smooth start.
97
- robopaint . pauseTillEmpty ( true ) ;
98
-
99
95
mode . run ( [
100
96
'wash' ,
101
97
[ 'media' , 'color0' ] ,
You can’t perform that action at this time.
0 commit comments