format
parent
196df65980
commit
f52f73ad3f
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue