diff options
author | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-08-04 22:53:44 -0500 |
---|---|---|
committer | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-08-04 22:53:44 -0500 |
commit | 7f8cea1a3b5aa261144abe20ca0d7129be1fb1f5 (patch) | |
tree | 95bbe38c1bf442cf5ed331ce27fe5d080b6b48e6 /src/client/views/MainView.tsx | |
parent | 2438ff3fcc86d5c739190cd16c03efd06797b40a (diff) |
finishing touches on settings
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r-- | src/client/views/MainView.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index e9b9be49d..bbf36a04f 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -313,6 +313,10 @@ export class MainView extends React.Component { defaultBackgroundColors = (doc: Opt<Doc>) => { if (this.panelContent === doc?.title) return "lightgrey"; + + if (doc?.type === DocumentType.COL) { + return StrCast(Doc.UserDoc().defaultColor); + } if (this.darkScheme) { switch (doc?.type) { case DocumentType.FONTICON: return "white"; |