From 75de4e2e92f9ae20972ac9ac2f344044d96711a7 Mon Sep 17 00:00:00 2001 From: Samuel Gratzl Date: Fri, 1 Mar 2024 21:22:46 -0500 Subject: [PATCH] fix: remove non-working default option --- src/controllers/WordCloudController.ts | 7 +++---- src/elements/WordElement.ts | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/controllers/WordCloudController.ts b/src/controllers/WordCloudController.ts index 49b4dfb..9de1b96 100644 --- a/src/controllers/WordCloudController.ts +++ b/src/controllers/WordCloudController.ts @@ -38,9 +38,8 @@ export class WordCloudController extends DatasetController<'wordCloud', WordElem /** * @hidden */ - static readonly defaults = { + static readonly defaults = /* #__PURE__ */ { datasets: { - fit: true, animation: { colors: { properties: ['color', 'strokeStyle'], @@ -57,7 +56,7 @@ export class WordCloudController extends DatasetController<'wordCloud', WordElem /** * @hidden */ - static readonly overrides = { + static readonly overrides = /* #__PURE__ */ { scales: { x: { type: 'linear', @@ -210,7 +209,7 @@ export interface IWordCloudControllerDatasetOptions AnimationOptions<'wordCloud'> { /** * whether to fit the word cloud to the map, by scaling to the actual bounds - * @default true + * @default false */ fit: boolean; } diff --git a/src/elements/WordElement.ts b/src/elements/WordElement.ts index 51bff34..687844b 100644 --- a/src/elements/WordElement.ts +++ b/src/elements/WordElement.ts @@ -102,7 +102,7 @@ export class WordElement extends Element /** * @hidden */ - static readonly defaultRoutes = { + static readonly defaultRoutes = /* #__PURE__ */ { color: 'color', family: 'font.family', style: 'font.style',