Hide items pane at startup to avoid showing column lines

Column groups aren't processed until after startup progress meter closes, so
otherwise lines show behind the progress meter for all possible columns.
This commit is contained in:
Dan Stillman 2016-10-08 18:59:20 -04:00
parent 9c52ebdf8b
commit 3bf82a4d4d
2 changed files with 3 additions and 0 deletions

View File

@ -365,6 +365,8 @@ var ZoteroPane = new function()
yield Zotero.unlockPromise;
// The items pane is hidden initially to avoid showing column lines
document.getElementById('zotero-items-tree').hidden = false;
Zotero.hideZoteroPaneOverlays();
// If pane not loaded, load it or display an error message

View File

@ -371,6 +371,7 @@
onselect="ZoteroPane_Local.itemSelected(event)"
oncommand="ZoteroPane_Local.serializePersist()"
flex="1"
hidden="true"
zotero-persist="current-view-group">
<treecols id="zotero-items-columns-header">
<treecol