fixed tab header animations, allow disabling animations globally #6147

This commit is contained in:
Eugene Pankov
2022-04-15 12:27:48 +02:00
parent 38c1fafeee
commit 1e85acb99e
8 changed files with 24 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ title-bar(
[tab]='tab',
[active]='tab == app.activeTab',
@animateTab,
[@.disabled]='hasVerticalTabs()',
[@.disabled]='hasVerticalTabs() || !config.store.accessibility.animations',
(click)='app.selectTab(tab)',
[class.fully-draggable]='hostApp.platform != Platform.macOS',
[class.drag-region]='hostApp.platform == Platform.macOS && !(app.tabDragActive$|async)',