File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,8 @@ class Graph3DView extends ItemView {
167
167
this . renderSettingsPanel ( ) ;
168
168
}
169
169
170
- private renderSettingsPanel ( ) {
170
+ // --- FIX: Method made public to be accessible from SettingsTab ---
171
+ public renderSettingsPanel ( ) {
171
172
this . settingsPanel . empty ( ) ;
172
173
173
174
this . renderSearchSettings ( this . settingsPanel ) ;
@@ -178,6 +179,11 @@ class Graph3DView extends ItemView {
178
179
this . renderForceSettings ( this . settingsPanel ) ;
179
180
}
180
181
182
+ // --- FIX: New public helper method ---
183
+ public isSettingsPanelOpen ( ) : boolean {
184
+ return this . settingsPanel ?. classList . contains ( 'is-open' ) ;
185
+ }
186
+
181
187
private renderSearchSettings ( container : HTMLElement ) {
182
188
new Setting ( container ) . setHeading ( ) . setName ( 'Search' ) ;
183
189
new Setting ( container )
You can’t perform that action at this time.
0 commit comments