aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-11-09 14:13:46 -0500
committeryipstanley <stanley_yip@brown.edu>2019-11-09 14:13:46 -0500
commitab5a893493e150337f0b193344f73bc7aa12afe5 (patch)
treeb2b18b34b46e2dcbac6a46bb91c531aebf892d0e
parent517bccdf0921169fd83312f3cedd044522a2398e (diff)
a
-rw-r--r--src/client/views/DocumentDecorations.tsx5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index 495e1d2b2..e208e5f3b 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -583,13 +583,8 @@ export class DocumentDecorations extends React.Component<{}, { value: string }>
}
render() {
var bounds = this.Bounds;
-<<<<<<< HEAD
- let seldoc = SelectionManager.AllSelected().length ? SelectionManager.AllSelected()[0] : undefined;
- if (bounds.x === Number.MAX_VALUE || !seldoc || this._hidden || isNaN(bounds.r) || isNaN(bounds.b) || isNaN(bounds.x) || isNaN(bounds.y)) {
-=======
let seldoc = SelectionManager.SelectedDocuments().length ? SelectionManager.SelectedDocuments()[0] : undefined;
if (SelectionManager.GetIsDragging() || bounds.x === Number.MAX_VALUE || !seldoc || this._hidden || isNaN(bounds.r) || isNaN(bounds.b) || isNaN(bounds.x) || isNaN(bounds.y)) {
->>>>>>> 5c6dc8fb25c2ac65a9efa534ee86211ac6d68301
return (null);
}
let minimizeIcon = (