diff options
| author | bobzel <zzzman@gmail.com> | 2022-04-11 16:06:15 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-04-11 16:06:15 -0400 |
| commit | 49437d51b277206f31cdcdf0106944bab8330f4d (patch) | |
| tree | d37b93a066df9bdbe70138823a5d875bf3f97b0c /src/client/views/nodes/LabelBigText.js | |
| parent | 6c7101d4f69dd79a83a48d04356748213c38a435 (diff) | |
lots of layout fixes to groups, labels, ink to support iconification better. simpliifed documentdecorations. fixed display artifacts related to things not showing up when dragging, or otherwise not getting a halo of nested freeform colletions.
Diffstat (limited to 'src/client/views/nodes/LabelBigText.js')
| -rw-r--r-- | src/client/views/nodes/LabelBigText.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/LabelBigText.js b/src/client/views/nodes/LabelBigText.js index 78fe2839e..02c36c4bc 100644 --- a/src/client/views/nodes/LabelBigText.js +++ b/src/client/views/nodes/LabelBigText.js @@ -156,6 +156,7 @@ export default function BigText(element, options) { width: element.offsetWidth, //Note: This is slightly larger than the jQuery version height: element.offsetHeight, }; + if (!box.width || !box.height) return element; if (options.rotateText !== null) { |
