fx140: remove sliding animation from panels (#5423)

This commit is contained in:
abaevbog 2025-07-30 01:39:00 -05:00 • committed by Dan Stillman
parent 5af15f6496
commit 747a3f7a9f

View file

@ -865,7 +865,7 @@
<toolbarbutton id="zotero-tb-tabs-menu" class="zotero-tb-button" tabindex="-1" data-l10n-id="zotero-toolbar-tabs-menu" type="panel"
oncommand="if (this.disabled) { event.preventDefault(); return; } Zotero_Tabs.showTabsMenu(undefined, this)"/>
<div xmlns="http://www.w3.org/1999/xhtml" class="zotero-tb-separator"></div>
<panel id="zotero-tabs-menu-panel" type="arrow" is="tabs-menu-panel" tabindex="-1"></panel>
<panel id="zotero-tabs-menu-panel" type="arrow" animate="false" is="tabs-menu-panel" tabindex="-1"></panel>
<hbox id="zotero-pq-buttons">
</hbox>
@ -876,7 +876,7 @@
We put this here, but it can be used wherever
Zotero.Sync.Runner.updateErrorPanel() puts it
-->
<panel id="zotero-sync-error-panel" type="arrow" onpopupshown="
<panel id="zotero-sync-error-panel" type="arrow" animate="false" onpopupshown="
const buttons = this.getElementsByTagName('button');
if (buttons[0]) {
buttons[0].focus();
@ -1259,7 +1259,7 @@
onmousedown="Zotero_Lookup.handleToolbarButtonMouseDown(event)"
/>
<panel id="zotero-lookup-panel" type="arrow"
<panel id="zotero-lookup-panel" type="arrow" animate="false"
onpopupshown="Zotero_Lookup.onShown(event)"
onpopuphidden="Zotero_Lookup.onHidden(event)"
onfocusout="Zotero_Lookup.onFocusOut(event)"