@@ -370,41 +370,43 @@ class IDEView extends React.Component {
370
370
< header className = "preview-frame__header" >
371
371
< h2 className = "preview-frame__title" > Preview</ h2 >
372
372
</ header >
373
- < div className = "preview-frame-overlay" ref = { ( element ) => { this . overlay = element ; } } >
373
+ < div className = "preview-frame__content" >
374
+ < div className = "preview-frame-overlay" ref = { ( element ) => { this . overlay = element ; } } >
375
+ </ div >
376
+ < div >
377
+ { (
378
+ (
379
+ ( this . props . preferences . textOutput ||
380
+ this . props . preferences . gridOutput ||
381
+ this . props . preferences . soundOutput
382
+ ) &&
383
+ this . props . ide . isPlaying
384
+ ) ||
385
+ this . props . ide . isAccessibleOutputPlaying
386
+ )
387
+ }
388
+ </ div >
389
+ < PreviewFrame
390
+ htmlFile = { this . props . htmlFile }
391
+ files = { this . props . files }
392
+ content = { this . props . selectedFile . content }
393
+ isPlaying = { this . props . ide . isPlaying }
394
+ isAccessibleOutputPlaying = { this . props . ide . isAccessibleOutputPlaying }
395
+ textOutput = { this . props . preferences . textOutput }
396
+ gridOutput = { this . props . preferences . gridOutput }
397
+ soundOutput = { this . props . preferences . soundOutput }
398
+ setTextOutput = { this . props . setTextOutput }
399
+ setGridOutput = { this . props . setGridOutput }
400
+ setSoundOutput = { this . props . setSoundOutput }
401
+ dispatchConsoleEvent = { this . props . dispatchConsoleEvent }
402
+ autorefresh = { this . props . preferences . autorefresh }
403
+ previewIsRefreshing = { this . props . ide . previewIsRefreshing }
404
+ endSketchRefresh = { this . props . endSketchRefresh }
405
+ stopSketch = { this . props . stopSketch }
406
+ setBlobUrl = { this . props . setBlobUrl }
407
+ expandConsole = { this . props . expandConsole }
408
+ />
374
409
</ div >
375
- < div >
376
- { (
377
- (
378
- ( this . props . preferences . textOutput ||
379
- this . props . preferences . gridOutput ||
380
- this . props . preferences . soundOutput
381
- ) &&
382
- this . props . ide . isPlaying
383
- ) ||
384
- this . props . ide . isAccessibleOutputPlaying
385
- )
386
- }
387
- </ div >
388
- < PreviewFrame
389
- htmlFile = { this . props . htmlFile }
390
- files = { this . props . files }
391
- content = { this . props . selectedFile . content }
392
- isPlaying = { this . props . ide . isPlaying }
393
- isAccessibleOutputPlaying = { this . props . ide . isAccessibleOutputPlaying }
394
- textOutput = { this . props . preferences . textOutput }
395
- gridOutput = { this . props . preferences . gridOutput }
396
- soundOutput = { this . props . preferences . soundOutput }
397
- setTextOutput = { this . props . setTextOutput }
398
- setGridOutput = { this . props . setGridOutput }
399
- setSoundOutput = { this . props . setSoundOutput }
400
- dispatchConsoleEvent = { this . props . dispatchConsoleEvent }
401
- autorefresh = { this . props . preferences . autorefresh }
402
- previewIsRefreshing = { this . props . ide . previewIsRefreshing }
403
- endSketchRefresh = { this . props . endSketchRefresh }
404
- stopSketch = { this . props . stopSketch }
405
- setBlobUrl = { this . props . setBlobUrl }
406
- expandConsole = { this . props . expandConsole }
407
- />
408
410
</ div >
409
411
</ SplitPane >
410
412
</ SplitPane >
0 commit comments