diff --git a/etc/css/style.css b/etc/css/style.css index ecb6f9d9..c80eec2d 100644 --- a/etc/css/style.css +++ b/etc/css/style.css @@ -718,6 +718,7 @@ span.inspector-button { padding-left: 10px; padding-right: 10px; cursor: pointer; + height: 18px; } span.inspector-button:hover { diff --git a/etc/index.html b/etc/index.html index 47fa3142..e5a572d2 100644 --- a/etc/index.html +++ b/etc/index.html @@ -85,7 +85,8 @@
+ +    + + -
diff --git a/etc/js/entity_tree.js b/etc/js/entity_tree.js index 06f5f004..a3596661 100644 --- a/etc/js/entity_tree.js +++ b/etc/js/entity_tree.js @@ -19,19 +19,14 @@ function subtree_height(entity_data) { Vue.component('entity-tree-item', { props: ['x', 'y', 'entity_data', 'selected_entity', 'width'], - mounted: function() { - this.expand = this.entity_data.expand; - }, data: function() { return { - expand: false, text_elem: undefined } }, methods: { toggle: function() { this.$emit('toggle', this.entity_data); - this.expand = this.entity_data.expand; }, search: function() { this.$emit('select_query', this.entity_data.path); @@ -73,7 +68,7 @@ Vue.component('entity-tree-item', {