diff options
author | bobzel <zzzman@gmail.com> | 2021-08-24 02:30:06 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-08-24 02:30:06 -0400 |
commit | 707038795f7129d30a1d4ed5f2311f18a282fecb (patch) | |
tree | 04eb6bb00883f8c3c88a9c1c771c5899f0355f07 /src/client/views/PreviewCursor.tsx | |
parent | e81bb4e087d7bdb9521bfed1c84ba4d4dac8aa75 (diff) |
fixed following link from ink stroke. made interacting with annotatable documents consistent when selections are cleared by clicking. fixed undo for webboxes. fixed limiting size of links button.
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 >; |