This commit is contained in:
Petar Petrov 2025-01-17 18:57:28 +02:00
parent 196df65980
commit f52f73ad3f

View File

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