Skip to content

Commit

Permalink
fix: remove non-working default option
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Mar 2, 2024
1 parent 0106dec commit 75de4e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/controllers/WordCloudController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand All @@ -57,7 +56,7 @@ export class WordCloudController extends DatasetController<'wordCloud', WordElem
/**
* @hidden
*/
static readonly overrides = {
static readonly overrides = /* #__PURE__ */ {
scales: {
x: {
type: 'linear',
Expand Down Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/elements/WordElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class WordElement extends Element<IWordElementProps, IWordElementOptions>
/**
* @hidden
*/
static readonly defaultRoutes = {
static readonly defaultRoutes = /* #__PURE__ */ {
color: 'color',
family: 'font.family',
style: 'font.style',
Expand Down

0 comments on commit 75de4e2

Please sign in to comment.