diff options
author | yipstanley <stanley_yip@brown.edu> | 2019-07-29 14:51:50 -0400 |
---|---|---|
committer | yipstanley <stanley_yip@brown.edu> | 2019-07-29 14:51:50 -0400 |
commit | 93df48fe22f4152878e3a74e0366668fbbab895e (patch) | |
tree | 04a22cecbb19cf11fe4d3d7603d4cb97b3aba762 /src | |
parent | 5fff8155b3102e76feb718c4f67c6e85050aab6e (diff) |
fixed document decorations when chrome expanded on stacking view
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/CollectionStackingViewFieldColumn.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackingViewFieldColumn.tsx b/src/client/views/collections/CollectionStackingViewFieldColumn.tsx index 30177ebd7..aa86d9a54 100644 --- a/src/client/views/collections/CollectionStackingViewFieldColumn.tsx +++ b/src/client/views/collections/CollectionStackingViewFieldColumn.tsx @@ -111,7 +111,7 @@ export class CollectionStackingViewFieldColumn extends React.Component<CSVFieldC let outerXf = Utils.GetScreenTransform(this.props.parent._masonryGridRef!); let offset = this.props.parent.props.ScreenToLocalTransform().transformDirection(outerXf.translateX - translateX, outerXf.translateY - translateY); return this.props.parent.props.ScreenToLocalTransform(). - translate(offset[0], offset[1] - (this.props.parent.chromeCollapsed ? 0 : 100)). + translate(offset[0], offset[1]). scale(NumCast(doc.width, 1) / this.props.parent.columnWidth); } |