show step into when select function_call

This commit is contained in:
Dmitry Vasilev
2023-12-04 16:19:55 +08:00
parent 32f7851081
commit aec570c197
4 changed files with 36 additions and 15 deletions

View File

@@ -175,13 +175,8 @@ export class ValueExplorer {
this.toggle_expanded()
}
clear() {
this.container.innerHTML = ''
this.node_data = {is_expanded: true}
}
render(value) {
this.clear()
this.node_data = {is_expanded: true}
this.value = value
const path = []
this.container.appendChild(this.render_value_explorer_node(null, value, path, this.node_data))