1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 06:14:12 +01:00

Fix visual bell completion list sizing thing.

This commit is contained in:
Kris Maglione
2011-10-26 01:10:12 -04:00
parent efb39f26a8
commit e50726ae01
2 changed files with 8 additions and 3 deletions

View File

@@ -265,7 +265,12 @@ var MOW = Module("mow", {
this.visible = true;
},
get spaceNeeded() Math.max(0, DOM("#" + config.ids.commandContainer, document).rect.bottom - window.innerHeight),
get spaceNeeded() {
if (DOM("#dactyl-bell", document).isVisible)
return 0;
return Math.max(0, DOM("#" + config.ids.commandContainer, document).rect.bottom
- window.innerHeight);
},
/**
* Update or remove the multi-line output widget's "MORE" prompt.