diff options
| author | bobzel <zzzman@gmail.com> | 2021-01-11 13:21:48 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-01-11 13:21:48 -0500 |
| commit | 7a1af910d1c4804cdc702000f8a278f5dd13999b (patch) | |
| tree | ccf4c2c055a24d10ac947308bfa9bbd23e3a66ed /src/client/views/DocumentDecorations.tsx | |
| parent | c82583f1b3f435f52521da2d45f3d65833aada0b (diff) | |
cleanup of ink stroke changes
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 2f4126a1e..744683a0f 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -271,10 +271,10 @@ export class DocumentDecorations extends React.Component<{ boundsLeft: number, b const right = Math.max(...xs); const bottom = Math.max(...ys); - doc._height = (bottom - top) * element.props.ScreenToLocalTransform().Scale; - doc._width = (right - left) * element.props.ScreenToLocalTransform().Scale; - // doc._height = (bottom - top); - // doc._width = (right - left); + // doc._height = (bottom - top) * element.props.ScreenToLocalTransform().Scale; + // doc._width = (right - left) * element.props.ScreenToLocalTransform().Scale; + doc._height = (bottom - top); + doc._width = (right - left); } |
