aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/LabelBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-10-02 12:24:11 -0400
committerbobzel <zzzman@gmail.com>2024-10-02 12:24:11 -0400
commit22376ded1271629974bfafc31b77e3288d593c3d (patch)
treebcc77e2b1e3609dbdcb90c8dbf9c8bb99e6809fb /src/client/views/nodes/LabelBox.tsx
parent45edcb10855ba5a5313ccf2e60c5ba3590d7bcbc (diff)
added showTags button for cardView. fixed unnecessary invalidations of TagsView based on child screenToLocal changing when its not rendered.
Diffstat (limited to 'src/client/views/nodes/LabelBox.tsx')
-rw-r--r--src/client/views/nodes/LabelBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/LabelBox.tsx b/src/client/views/nodes/LabelBox.tsx
index e39caecb6..8974cccaf 100644
--- a/src/client/views/nodes/LabelBox.tsx
+++ b/src/client/views/nodes/LabelBox.tsx
@@ -91,7 +91,7 @@ export class LabelBox extends ViewBoxBaseComponent<FieldViewProps>() {
};
if (r) {
if (!r.offsetHeight || !r.offsetWidth) {
- console.log("CAN'T FIT TO EMPTY BOX");
+ //console.log("CAN'T FIT TO EMPTY BOX");
this._timeout && clearTimeout(this._timeout);
this._timeout = setTimeout(() => this.fitTextToBox(r));
return textfitParams;