aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/LabelBox.tsx
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-07-30 13:39:46 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-07-30 13:39:46 -0400
commit107c389f61df36b464ae3ec73e2f553a78f3e64a (patch)
treecd593ddf77c50bb0bf56629fcc619a83abf7d887 /src/client/views/nodes/LabelBox.tsx
parentcb1a26bf81129445d43badcf5b46171a5d8941b3 (diff)
layout preview sizing
Diffstat (limited to 'src/client/views/nodes/LabelBox.tsx')
-rw-r--r--src/client/views/nodes/LabelBox.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/LabelBox.tsx b/src/client/views/nodes/LabelBox.tsx
index d33d12603..1f5fa8e14 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, trace } 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 { DocumentType } from '../../documents/DocumentTypes';
@@ -95,7 +95,7 @@ export class LabelBox extends ViewBoxBaseComponent<FieldViewProps>() {
this._timeout = setTimeout(() => this.fitTextToBox(r));
return textfitParams;
}
- textfit(r, textfitParams);
+ //textfit(r, textfitParams);
}
return textfitParams;
};