@@ -89,7 +89,7 @@ export default class WelcomePanel {
8989 private element : HTMLDivElement ;
9090
9191 private minimizedPanel : MinimizedPanel ;
92- private dialogPanel : DialogPanel ;
92+ // private dialogPanel: DialogPanel;
9393
9494 constructor ( private serviceContainer : ServiceContainer ) {
9595
@@ -112,14 +112,14 @@ export default class WelcomePanel {
112112 const minimizedButton = new MinimizedButton ( ( ) => this . show ( ) ) ;
113113 this . minimizedPanel = new MinimizedPanel ( minimizedButton ) ;
114114
115- const dialog = new Dialog ( {
116- closeDialog : ( ) => this . hide ( ) ,
117- serviceContainer : this . serviceContainer ,
118- } ) ;
119- this . dialogPanel = new DialogPanel ( dialog ) ;
115+ // const dialog = new Dialog({
116+ // closeDialog: () => this.hide(),
117+ // serviceContainer: this.serviceContainer,
118+ // });
119+ // this.dialogPanel = new DialogPanel(dialog);
120120
121121 this . element . appendChild ( this . minimizedPanel . getElement ( ) ) ;
122- this . element . appendChild ( this . dialogPanel . getElement ( ) ) ;
122+ // this.element.appendChild(this.dialogPanel.getElement());
123123
124124 document . addEventListener ( 'deviceConnected' , ( event : Event ) => {
125125 const customEvent = event as CustomEvent ;
@@ -163,12 +163,12 @@ export default class WelcomePanel {
163163 this . element . style . transition = 'opacity 0.3s ease-in-out' ;
164164 this . element . style . opacity = '1' ;
165165
166- this . dialogPanel . show ( ) ;
166+ // this.dialogPanel.show();
167167 this . minimizedPanel . hide ( ) ;
168168 }
169169
170170 hide ( ) : void {
171- this . dialogPanel . hide ( ) ;
171+ // this.dialogPanel.hide();
172172 this . minimizedPanel . show ( ) ;
173173 }
174174}
0 commit comments