diff options
| author | geireann <geireann.lindfield@gmail.com> | 2021-08-24 19:07:24 -0400 |
|---|---|---|
| committer | geireann <geireann.lindfield@gmail.com> | 2021-08-24 19:07:24 -0400 |
| commit | 5e12fe1f5dfe73aeb5744d61ecbee02fbf14c59e (patch) | |
| tree | f6e40215834974d3692bce12af09f7f461deb860 /src/client/views/PreviewCursor.tsx | |
| parent | 0c5a95f37e91a07041699514155fd214f544a0de (diff) | |
| parent | e221001a24e8615aa6113dd3f25b8c6e10c74999 (diff) | |
Merge branch 'master' into menu_updates_geireann
Diffstat (limited to 'src/client/views/PreviewCursor.tsx')
| -rw-r--r-- | src/client/views/PreviewCursor.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PreviewCursor.tsx b/src/client/views/PreviewCursor.tsx index 679a4b81e..2b82ef475 100644 --- a/src/client/views/PreviewCursor.tsx +++ b/src/client/views/PreviewCursor.tsx @@ -158,7 +158,7 @@ export class PreviewCursor extends React.Component<{}> { } render() { return (!PreviewCursor._clickPoint || !PreviewCursor.Visible) ? (null) : - <div className="previewCursor" onBlur={this.onBlur} tabIndex={0} ref={e => e && e.focus()} + <div className="previewCursor" onBlur={this.onBlur} tabIndex={0} ref={e => e?.focus()} style={{ transform: `translate(${PreviewCursor._clickPoint[0]}px, ${PreviewCursor._clickPoint[1]}px)` }}> I </div >; |
