www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 50eeed9e32b491964f0c629f7f5b846451482aa0
parent 1524fff30f183c336754726afae58ec16bd1263c
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 29 Apr 2014 03:48:57 -0400

Restore panel auto-hide and increase show delay to 2 seconds

I think requiring everyone with Zotero installed to manually close the panel is
just too annoying. (Not allowing the auto-hide for a couple seconds after
opening to prevent accidental closes would be nice, but preventDefault() in the
panel's onpopuphiding() doesn't seem to work, nor does changing noautohide
after opening.)

Increase the delay to 2 seconds to try to show on top of the Firefox 28->29
upgrade panel on slower computers.

Diffstat:
Mchrome/content/zotero/overlay.xul | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/overlay.xul b/chrome/content/zotero/overlay.xul @@ -52,7 +52,7 @@ <toolbar id="zotero-toolbar" nowindowdrag="true"/> <vbox id="appcontent"> - <zoteroguidancepanel id="zotero-toolbar-button-guidance" about="toolbarButton" for="zotero-toolbar-button" position="bottomcenter topleft" delay="1000" foregroundonly="true" noautohide="true"/> + <zoteroguidancepanel id="zotero-toolbar-button-guidance" about="toolbarButton" for="zotero-toolbar-button" position="bottomcenter topleft" delay="2000" foregroundonly="true"/> <!-- onmouseup shouldn't be necessary but seems to help prevent tag selector from sometimes going off the screen --> <splitter id="zotero-splitter" resizebefore="closest" resizeafter="closest" hidden="true" onmouseup="ZoteroPane.updateTagSelectorSize()"/>