mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 04:02:31 +02:00
fix visual bell - center it since its dimensions are now less than the box to
workaround a FF3 bug
This commit is contained in:
1 parent
03d91c794c
commit
e7d99e5a5b
1 file changed
+2
-1
@@ -613,7 +613,8 @@ const liberator = (function () //{{{
|
||||
let win = config.visualbellWindow;
|
||||
let box = document.getBoxObjectFor(win);
|
||||
|
||||
popup.openPopup(win, "overlap", 0, 0, false, false);
|
||||
// NOTE: this doesn't seem to work in FF3 with full box dimensions
|
||||
popup.openPopup(win, "overlap", 1, 1, false, false);
|
||||
popup.sizeTo(box.width - 2, box.height - 2);
|
||||
setTimeout(function () { popup.hidePopup(); }, 20);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user