diff options
| author | bobzel <zzzman@gmail.com> | 2024-10-04 21:35:22 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-10-04 21:35:22 -0400 |
| commit | 9323ad30103b474e95610e97eb92916a0cf71f7b (patch) | |
| tree | 72f20d339139018bde242121eaba16e9e939c93b /src/client/views/nodes/LabelBox.tsx | |
| parent | 2e883e481fa2064983bcd16425118c1abb55cedb (diff) | |
more lint fixes to schema view changes.
Diffstat (limited to 'src/client/views/nodes/LabelBox.tsx')
| -rw-r--r-- | src/client/views/nodes/LabelBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/LabelBox.tsx b/src/client/views/nodes/LabelBox.tsx index cfcf76b12..8974cccaf 100644 --- a/src/client/views/nodes/LabelBox.tsx +++ b/src/client/views/nodes/LabelBox.tsx @@ -2,7 +2,7 @@ import { Property } from 'csstype'; import { action, computed, makeObservable } from 'mobx'; import { observer } from 'mobx-react'; import * as React from 'react'; -//import * as textfit from 'textfit'; +import * as textfit from 'textfit'; import { Field, FieldType } from '../../../fields/Doc'; import { BoolCast, NumCast, StrCast } from '../../../fields/Types'; import { TraceMobx } from '../../../fields/util'; @@ -96,7 +96,7 @@ export class LabelBox extends ViewBoxBaseComponent<FieldViewProps>() { this._timeout = setTimeout(() => this.fitTextToBox(r)); return textfitParams; } - //textfit(r, textfitParams); + textfit(r, textfitParams); } return textfitParams; }; |
