diff options
| author | srichman333 <sarah_n_richman@brown.edu> | 2023-03-22 17:01:17 -0400 |
|---|---|---|
| committer | srichman333 <sarah_n_richman@brown.edu> | 2023-03-22 17:01:17 -0400 |
| commit | 62666034718378f4d970331665019b23659c1f3d (patch) | |
| tree | 708a5dd0ea3961229a531a14fd80aa1f651f9f7b /src/client/views/StyleProvider.tsx | |
| parent | 4c2584baf8bae0cde714c832b0768d3c08864422 (diff) | |
visual changes to collaboration on doc and in PropertiesView
Diffstat (limited to 'src/client/views/StyleProvider.tsx')
| -rw-r--r-- | src/client/views/StyleProvider.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/views/StyleProvider.tsx b/src/client/views/StyleProvider.tsx index 153c30052..7ba71eb5e 100644 --- a/src/client/views/StyleProvider.tsx +++ b/src/client/views/StyleProvider.tsx @@ -301,6 +301,7 @@ export function DefaultStyleProvider(doc: Opt<Doc>, props: Opt<DocumentViewProps <div className="styleProvider-lock" onClick={() => toggleLockedPosition(doc)}> <FontAwesomeIcon icon={isBackground() ? 'lock' : 'unlock'} style={{ color: isBackground() ? 'red' : undefined }} size="lg" /> </div> + // <div/> ) : null; } } @@ -330,9 +331,9 @@ export function DashboardStyleProvider(doc: Opt<Doc>, props: Opt<FieldViewProps <> {DashboardToggleButton(doc, 'hidden', 'eye-slash', 'eye', () => { doc.hidden = doc.hidden ? undefined : true; - if (!doc.hidden) { - DocFocusOrOpen(doc, props?.ContainingCollectionDoc); - } + // if (!doc.hidden) { + // DocFocusOrOpen(doc, props?.ContainingCollectionDoc); + // } })} </> ); |
