diff options
| author | bobzel <zzzman@gmail.com> | 2021-01-22 21:14:37 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-01-22 21:14:37 -0500 |
| commit | d0025200b23f57ec25d3452d425de8725a032c6a (patch) | |
| tree | 843ef1f021239af4b7f82c9eee553a9978fe0f46 /src/client/views/collections/TabDocView.tsx | |
| parent | b9326dfc3e15683190a7d520daca6791ef049dea (diff) | |
fixed selection bounds for video box annotations, especially when in full screen view.
Diffstat (limited to 'src/client/views/collections/TabDocView.tsx')
| -rw-r--r-- | src/client/views/collections/TabDocView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx index 5ca069fb9..e5f05c407 100644 --- a/src/client/views/collections/TabDocView.tsx +++ b/src/client/views/collections/TabDocView.tsx @@ -358,7 +358,7 @@ export class TabDocView extends React.Component<TabDocViewProps> { } active = () => this._isActive; ScreenToLocalTransform = () => { - const { translateX, translateY } = Utils.GetScreenTransform(this._mainCont?.children?.[0]?.firstChild as HTMLElement); + const { translateX, translateY } = Utils.GetScreenTransform(this._mainCont?.children?.[0] as HTMLElement); return CollectionDockingView.Instance?.props.ScreenToLocalTransform().translate(-translateX, -translateY); } PanelWidth = () => this._panelWidth; |
