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