From 83dbf518c73debb52c6b1994beef5473dce739f7 Mon Sep 17 00:00:00 2001
From: Sophie Zhang <sophie_zhang@brown.edu>
Date: Tue, 22 Aug 2023 13:09:51 -0400
Subject: global showLinkLines toggle

---
 src/client/util/SettingsManager.tsx | 10 ++++++++++
 1 file changed, 10 insertions(+)

(limited to 'src/client/util/SettingsManager.tsx')

diff --git a/src/client/util/SettingsManager.tsx b/src/client/util/SettingsManager.tsx
index 6acba8af4..8fff069f4 100644
--- a/src/client/util/SettingsManager.tsx
+++ b/src/client/util/SettingsManager.tsx
@@ -179,6 +179,7 @@ export class SettingsManager extends React.Component<{}> {
     }
 
     @computed get formatsContent() {
+        console.log(BoolCast(Doc.UserDoc().showLinkLines));
         return (
             <div className="prefs-content">
                 <Toggle
@@ -235,6 +236,15 @@ export class SettingsManager extends React.Component<{}> {
                     size={Size.XSMALL}
                     color={this.userColor}
                 />
+                <Toggle
+                    formLabel={'Show Link Lines'}
+                    formLabelPlacement={'right'}
+                    toggleType={ToggleType.SWITCH}
+                    onClick={e => (Doc.UserDoc().showLinkLines = !Doc.UserDoc().showLinkLines)}
+                    toggleStatus={BoolCast(Doc.UserDoc().showLinkLines)}
+                    size={Size.XSMALL}
+                    color={this.userColor}
+                />
             </div>
         );
     }
-- 
cgit v1.2.3-70-g09d2


From 98e8e59d4cac428ee55db478f7402a7c12eb5ce5 Mon Sep 17 00:00:00 2001
From: geireann <geireann.lindfield@gmail.com>
Date: Tue, 22 Aug 2023 14:38:19 -0400
Subject: from last

---
 src/client/util/SettingsManager.tsx | 1 -
 1 file changed, 1 deletion(-)

(limited to 'src/client/util/SettingsManager.tsx')

diff --git a/src/client/util/SettingsManager.tsx b/src/client/util/SettingsManager.tsx
index 8fff069f4..453aba81a 100644
--- a/src/client/util/SettingsManager.tsx
+++ b/src/client/util/SettingsManager.tsx
@@ -179,7 +179,6 @@ export class SettingsManager extends React.Component<{}> {
     }
 
     @computed get formatsContent() {
-        console.log(BoolCast(Doc.UserDoc().showLinkLines));
         return (
             <div className="prefs-content">
                 <Toggle
-- 
cgit v1.2.3-70-g09d2

