Skip to content

Commit

Permalink
fixed #8124 - animation toggle didn't affect pane maximizing
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Mar 21, 2023
1 parent 9a6e684 commit 2a8b7c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tabby-core/src/components/splitTab.component.scss
Expand Up @@ -24,3 +24,7 @@
border-radius: 10px;
}
}

::ng-deep .no-animations split-tab > .child {
transition: none;
}
2 changes: 2 additions & 0 deletions tabby-core/src/services/themes.service.ts
Expand Up @@ -158,6 +158,8 @@ export class ThemesService {
for (const [key, value] of Object.entries(vars)) {
document.documentElement.style.setProperty(key, value)
}

document.body.classList.toggle('no-animations', !this.config.store.accessibility.animations)
}

findTheme (name: string): Theme|null {
Expand Down

0 comments on commit 2a8b7c3

Please sign in to comment.