Skip to content

Commit

Permalink
bug fix - if the result of a search had been hidden the node was not …
Browse files Browse the repository at this point in the history
…being redisplayed leaving horizontal scrolling in place
  • Loading branch information
tconfrey committed Oct 17, 2024
1 parent a1344a9 commit f1bf19b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/BTAppNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ class BTAppNode extends BTNode {
if (this.shownForSearch) {
const disp = this.getDisplayNode();
if (this.parentId) AllNodes[this.parentId].unshowForSearch();
this.redisplay(); // reset any search horiz scrolling
$(disp).hide();
this.shownForSearch = false;
}
Expand Down
1 change: 1 addition & 0 deletions versions/1.0.3/app/BTAppNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ class BTAppNode extends BTNode {
if (this.shownForSearch) {
const disp = this.getDisplayNode();
if (this.parentId) AllNodes[this.parentId].unshowForSearch();
this.redisplay(); // reset any search horiz scrolling
$(disp).hide();
this.shownForSearch = false;
}
Expand Down

0 comments on commit f1bf19b

Please sign in to comment.