diff options
author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-02 14:03:36 -0400 |
---|---|---|
committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-02 14:03:36 -0400 |
commit | 9334c8d12df76df60eedcc093b986f42d1f7f67d (patch) | |
tree | c593a48ccac6a8cca2481901df72abeffcd688a2 /src/client/views/MainView.tsx | |
parent | 49cf949250fb9b01a8457c2c3dee60b19f60c036 (diff) |
Refactored some search stuff and fixed treeview flyout min X
Diffstat (limited to 'src/client/views/MainView.tsx')
-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 787e240b9..04ecc47cf 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -272,7 +272,7 @@ export class MainView extends React.Component { } @action onPointerMove = (e: PointerEvent) => { - this.flyoutWidth = e.clientX; + this.flyoutWidth = Math.max(e.clientX, 0); } @action onPointerUp = (e: PointerEvent) => { |