From e7d99e5a5b29b04ee232854e735548b153569c03 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Mon, 20 Oct 2008 16:32:30 +0000 Subject: [PATCH] fix visual bell - center it since its dimensions are now less than the box to workaround a FF3 bug --- content/liberator.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/liberator.js b/content/liberator.js index e8e1060f..7f9e85e6 100644 --- a/content/liberator.js +++ b/content/liberator.js @@ -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); }