diff options
author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-05 16:39:38 -0400 |
---|---|---|
committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-05 16:39:38 -0400 |
commit | b8e41f32eba62a3e569e82e2908f4ff0c1e29f6c (patch) | |
tree | bb70e16a622a51b1c6a5286df8eb5ced53397465 | |
parent | 6df84a8246826d211f304ac6aecf76b8635bd83f (diff) |
fix 2
-rw-r--r-- | src/client/views/MainView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index 49dc4a2a1..d709a1a5b 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -300,7 +300,7 @@ export class MainView extends React.Component { let gridGap = NumCast(sidebar.gridGap, 10); let yMargin = NumCast(sidebar.yMargin, 2 * gridGap); let libraryHeight = this.getPHeight() - workspacesDoc[HeightSym]() - recentDoc[HeightSym]() - 2 * gridGap - 2 * yMargin; - if (Math.abs(library[HeightSym]() - libraryHeight) > 5) { + if (Math.abs(library[HeightSym]() - libraryHeight) > 25) { setTimeout(() => CurrentUserUtils.UserDocument.height = libraryHeight, 0); } return <DocumentView |