diff options
| author | bobzel <zzzman@gmail.com> | 2021-01-22 23:31:32 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-22 23:31:32 -0500 |
| commit | f5020cf8237601fb75ac4478dcde12c0d1bbb9d2 (patch) | |
| tree | fad64363f51d4fc418b8a95e59666bffd3e92df1 /src/client/views/collections/TabDocView.tsx | |
| parent | 10b759d2bd09af3a8e8a4effbc8fd2312dd873d2 (diff) | |
| parent | 1b3930d46e9fc8950b4997243bb18ca0ae58a345 (diff) | |
Merge pull request #947 from browngraphicslab/new_audio
New audio
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; |
