diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-05-15 17:36:39 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-05-15 17:36:39 -0400 |
| commit | 61dcd6a0e23384e68a7d7f2f9e0143741f5cbf56 (patch) | |
| tree | 5cafd3e862195495e91fb65e085470e948b9e966 /src/client/views/DocumentDecorations.tsx | |
| parent | 98c7540fff67c232c1b04f2130ee624f9a70afbd (diff) | |
moving toward a proper slide transition system
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index fc7c16296..6639f1cce 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -483,7 +483,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }> <div className="documentDecorations-title" key="title" onPointerDown={this.onTitleDown} > <span style={{ width: "calc(100% - 25px)", display: "inline-block" }}>{`${this.selectionTitle}`}</span> </div> - </> + </>; bounds.x = Math.max(0, bounds.x - this._resizeBorderWidth / 2) + this._resizeBorderWidth / 2; bounds.y = Math.max(0, bounds.y - this._resizeBorderWidth / 2 - this._titleHeight) + this._resizeBorderWidth / 2 + this._titleHeight; |
