Revert "fix(ui): honor the application animation setting globally"

This reverts commit 760ed847fc.
This commit is contained in:
Sucukdeluxe
2026-08-15 16:05:22 +02:00
parent 760ed847fc
commit 52329628c3
10 changed files with 119 additions and 57 deletions
+1 -3
View File
@@ -29,7 +29,6 @@ function getServerShellMode(): ResponsiveShellMode {
export interface AppShellProps {
activeView: MainView;
animationsEnabled?: boolean;
onViewChange: (view: MainView) => void;
sidebar: ReactNode;
sidebarStatus: ReactNode;
@@ -44,7 +43,6 @@ export interface AppShellProps {
export function AppShell({
activeView,
animationsEnabled = true,
onViewChange,
sidebar,
sidebarStatus,
@@ -76,7 +74,7 @@ export function AppShell({
return (
<div
className={`md-shell is-${responsiveMode}${animationsEnabled ? " is-runtime-motion-enabled" : " is-runtime-motion-disabled"}${hasSidebar ? " has-sidebar" : ""}${hasSidebar && effectiveSidebarCollapsed ? " has-collapsed-sidebar" : ""}`}
className={`md-shell is-${responsiveMode}${hasSidebar ? " has-sidebar" : ""}${hasSidebar && effectiveSidebarCollapsed ? " has-collapsed-sidebar" : ""}`}
data-responsive-mode={responsiveMode}
>
<AppHeader activeView={activeView} actions={headerActions} onViewChange={onViewChange} />