1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 13:17:59 +01:00

Add search to the MOW, skip search results in hidden nodes, and fix MOW sizing issues.

This commit is contained in:
Kris Maglione
2011-10-01 18:03:48 -04:00
parent cbbb3de86f
commit d14e57ee9a
5 changed files with 34 additions and 14 deletions

View File

@@ -153,6 +153,8 @@ var CommandWidgets = Class("CommandWidgets", {
}
});
this.updateVisibility();
this.initialized = true;
},
addElement: function addElement(obj) {
const self = this;
@@ -250,6 +252,9 @@ var CommandWidgets = Class("CommandWidgets", {
Array.forEach(node.children, check);
}
[this.commandbar.container, this.statusbar.container].forEach(check);
if (this.initialized && loaded.mow && mow.visible)
mow.resize(false);
},
active: Class.Memoize(Object),