Skip to content

Commit

Permalink
Merge branch 'sksum-paletteScrollIssue'
Browse files Browse the repository at this point in the history
  • Loading branch information
walterbender committed May 25, 2020
2 parents 78b19c7 + aa453a2 commit 5a0e5fc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions js/palette.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,17 +538,16 @@ function Palettes() {
this.hideSearchWidget(true);

for (var i in this.dict) {
if (this.dict[i] === this.dict[name]) {
this.dict[name]._resetLayout();
this.dict[name].showMenu();
this.dict[name]._showMenuItems();
} else {
if (this.dict[i] !== this.dict[name]) {
if (this.dict[i].visible) {
this.dict[i].hideMenu();
this.dict[i]._hideMenuItems();
}
}
}
this.dict[name]._resetLayout();
this.dict[name].showMenu();
this.dict[name] ._showMenuItems();
};

this._showMenus = function() {
Expand Down

0 comments on commit 5a0e5fc

Please sign in to comment.