diff options
author | geireann <geireann.lindfield@gmail.com> | 2024-10-03 11:50:27 -0400 |
---|---|---|
committer | geireann <geireann.lindfield@gmail.com> | 2024-10-03 11:50:27 -0400 |
commit | b791fc559112b5972211a5382d07ce15ad07132a (patch) | |
tree | 3bb8817c9a1526b3d457c9a47552f402d21f28e6 /src | |
parent | 8f64a959b3ff7985f67500b35ff4d8060de33846 (diff) |
fixed tagsView height when zooming.
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index 5db854b69..70e25d119 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -1195,7 +1195,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<FormattedTextB }; @computed get tagsHeight() { - return this.DocumentView?.().showTags ? Math.max(0, 20 - Math.max(this._props.yPadding ?? 0, NumCast(this.layoutDoc._yMargin))) : 0; + return this.DocumentView?.().showTags ? Math.max(0, 20 - Math.max(this._props.yPadding ?? 0, NumCast(this.layoutDoc._yMargin))) * this.ScreenToLocalBoxXf().Scale : 0; } @computed get contentScaling() { |