diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-04-10 14:47:21 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-04-10 14:47:21 -0400 |
commit | db6eb4b24014a517a3c62a47056335e8c063b063 (patch) | |
tree | 8ab38189496718db7d8054a5a8d984a8918d96d3 /src | |
parent | 929512da59d8678ac37c7ac9d0f6c2c9fa968d50 (diff) |
from last
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/MainView.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index 1edfc871f..aec1f960a 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -276,7 +276,7 @@ export class MainView extends React.Component { defaultBackgroundColors = (doc: Doc) => { if (this.darkScheme) { switch (doc.type) { - case DocumentType.RTF || DocumentType.LABEL: return "#2d2d2d"; + case DocumentType.RTF || DocumentType.LABEL || DocumentType.BUTTON: return "#2d2d2d"; case DocumentType.LINK: case DocumentType.COL: { if (doc._viewType !== CollectionViewType.Freeform && doc._viewType !== CollectionViewType.Time) return "rgb(62,62,62)"; @@ -286,6 +286,7 @@ export class MainView extends React.Component { } else { switch (doc.type) { case DocumentType.RTF: return "#f1efeb"; + case DocumentType.BUTTON: case DocumentType.LABEL: return "lightgray"; case DocumentType.LINK: case DocumentType.COL: { |