diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-04-23 21:24:57 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-04-23 21:24:57 -0400 |
| commit | 86fb73ccadd12ac07fea7a162295b287d6651c48 (patch) | |
| tree | 4fc5ee159d83a73a642e6efb7a20688790a17087 /src/client/views/PreviewCursor.tsx | |
| parent | d3a0ed3292a3ca83f83d6f75e50bde494b2e1d47 (diff) | |
fixes for text box input and dock view problems.
Diffstat (limited to 'src/client/views/PreviewCursor.tsx')
| -rw-r--r-- | src/client/views/PreviewCursor.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/PreviewCursor.tsx b/src/client/views/PreviewCursor.tsx index ff8434681..5ece034fb 100644 --- a/src/client/views/PreviewCursor.tsx +++ b/src/client/views/PreviewCursor.tsx @@ -18,6 +18,8 @@ export class PreviewCursor extends React.Component<{}> { @observable public static hide = () => { }; @action public static Show(hide: any, x: number, y: number) { + if (this.hide) + this.hide(); this.clickPoint = [x, y]; this.hide = hide; setTimeout(action(() => this.Visible = true), (1)); |
