Allow left pane collapsed state to persist
Also fix weirdness trying to open collapsed tag selector after restart. (The splitter's 'state' attribute has to be persisted, not the 'collapsed' state of the pane in question.)
This commit is contained in:
parent
d8ce6ce6f3
commit
d182665173
|
@ -315,14 +315,16 @@
|
|||
</treecols>
|
||||
<treechildren/>
|
||||
</tree>
|
||||
<splitter id="zotero-tags-splitter" onmouseup="ZoteroPane_Local.updateTagSelectorSize()" collapse="after">
|
||||
<splitter id="zotero-tags-splitter" onmouseup="ZoteroPane_Local.updateTagSelectorSize()" collapse="after"
|
||||
zotero-persist="state">
|
||||
<grippy oncommand="ZoteroPane_Local.toggleTagSelector()"/>
|
||||
</splitter>
|
||||
<zoterotagselector id="zotero-tag-selector" zotero-persist="height,collapsed,showAutomatic,filterToScope"
|
||||
<zoterotagselector id="zotero-tag-selector" zotero-persist="height,showAutomatic,filterToScope"
|
||||
oncommand="ZoteroPane_Local.updateTagFilter()"/>
|
||||
</vbox>
|
||||
|
||||
<splitter id="zotero-collections-splitter" resizebefore="closest" resizeafter="closest" collapse="before"
|
||||
zotero-persist="state"
|
||||
onmousemove="document.getElementById('zotero-items-toolbar').setAttribute('state', this.getAttribute('state'));ZoteroPane_Local.updateToolbarPosition();"
|
||||
oncommand="ZoteroPane_Local.updateToolbarPosition()">
|
||||
<grippy id="zotero-collections-grippy"/>
|
||||
|
|
Loading…
Reference in New Issue
Block a user