From de337e6bc0016bbdd9b1887d549d93fe1823bb9d Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 29 Jul 2025 09:43:14 -0400 Subject: changed setRef to fixScrollWheel --- src/client/views/nodes/formattedText/FormattedTextBox.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx') diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index 255ee1afe..576a54848 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -2129,7 +2129,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent this.fixWheelEvents(r, this._props.isContentActive, this.onPassiveWheel); + fixScrollWheel = (r: HTMLDivElement | null) => this.fixWheelEvents(r, this._props.isContentActive, this.onPassiveWheel); setScrollRef = (r: HTMLDivElement | null) => (this._scrollRef = r); render() { TraceMobx(); @@ -2145,7 +2145,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent