pull/23777/head
Petar Petrov 2025-01-17 18:57:28 +02:00
parent 196df65980
commit f52f73ad3f
1 changed files with 1 additions and 5 deletions

View File

@ -369,11 +369,7 @@ export class HaChartBase extends LitElement {
const modifierKey = isMac ? "meta" : "ctrl"; const modifierKey = isMac ? "meta" : "ctrl";
return { return {
maintainAspectRatio: false, maintainAspectRatio: false,
animation: this._reducedMotion animation: this._reducedMotion ? false : { duration: 500 },
? false
: {
duration: 500,
},
...this.options, ...this.options,
plugins: { plugins: {
...this.options?.plugins, ...this.options?.plugins,