fixed #8124 - animation toggle didn't affect pane maximizing

This commit is contained in:
Eugene Pankov 2023-03-21 21:03:14 +01:00
parent 9a6e684f9e
commit 2a8b7c3e79
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4
2 changed files with 6 additions and 0 deletions

View File

@ -24,3 +24,7 @@
border-radius: 10px; border-radius: 10px;
} }
} }
::ng-deep .no-animations split-tab > .child {
transition: none;
}

View File

@ -158,6 +158,8 @@ export class ThemesService {
for (const [key, value] of Object.entries(vars)) { for (const [key, value] of Object.entries(vars)) {
document.documentElement.style.setProperty(key, value) document.documentElement.style.setProperty(key, value)
} }
document.body.classList.toggle('no-animations', !this.config.store.accessibility.animations)
} }
findTheme (name: string): Theme|null { findTheme (name: string): Theme|null {