File tree 1 file changed +2
-2
lines changed
arduino-ide-extension/src/browser/theia/core
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import {
13
13
CurrentSketch ,
14
14
SketchesServiceClientImpl ,
15
15
} from '../../../common/protocol/sketches-service-client-impl' ;
16
- import { Sketch } from '../../contributions/contribution' ;
17
16
18
17
@injectable ( )
19
18
export class WidgetManager extends TheiaWidgetManager {
@@ -47,7 +46,8 @@ export class WidgetManager extends TheiaWidgetManager {
47
46
...widgets : Widget [ ]
48
47
) : void {
49
48
const sketchFileUris =
50
- CurrentSketch . isValid ( sketch ) && new Set ( Sketch . uris ( sketch ) ) ;
49
+ CurrentSketch . isValid ( sketch ) &&
50
+ new Set ( [ sketch . mainFileUri , ...sketch . rootFolderFileUris ] ) ;
51
51
for ( const widget of widgets ) {
52
52
if ( widget instanceof OutputWidget ) {
53
53
this . setWidgetUncloseable ( widget ) ; // TODO: https://arduino.slack.com/archives/C01698YT7S4/p1598011990133700
You can’t perform that action at this time.
0 commit comments