@@ -89,7 +89,7 @@ export default class WelcomePanel {
89
89
private element : HTMLDivElement ;
90
90
91
91
private minimizedPanel : MinimizedPanel ;
92
- private dialogPanel : DialogPanel ;
92
+ // private dialogPanel: DialogPanel;
93
93
94
94
constructor ( private serviceContainer : ServiceContainer ) {
95
95
@@ -112,14 +112,14 @@ export default class WelcomePanel {
112
112
const minimizedButton = new MinimizedButton ( ( ) => this . show ( ) ) ;
113
113
this . minimizedPanel = new MinimizedPanel ( minimizedButton ) ;
114
114
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);
120
120
121
121
this . element . appendChild ( this . minimizedPanel . getElement ( ) ) ;
122
- this . element . appendChild ( this . dialogPanel . getElement ( ) ) ;
122
+ // this.element.appendChild(this.dialogPanel.getElement());
123
123
124
124
document . addEventListener ( 'deviceConnected' , ( event : Event ) => {
125
125
const customEvent = event as CustomEvent ;
@@ -163,12 +163,12 @@ export default class WelcomePanel {
163
163
this . element . style . transition = 'opacity 0.3s ease-in-out' ;
164
164
this . element . style . opacity = '1' ;
165
165
166
- this . dialogPanel . show ( ) ;
166
+ // this.dialogPanel.show();
167
167
this . minimizedPanel . hide ( ) ;
168
168
}
169
169
170
170
hide ( ) : void {
171
- this . dialogPanel . hide ( ) ;
171
+ // this.dialogPanel.hide();
172
172
this . minimizedPanel . show ( ) ;
173
173
}
174
174
}
0 commit comments