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