aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-04-10 14:47:21 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-04-10 14:47:21 -0400
commitdb6eb4b24014a517a3c62a47056335e8c063b063 (patch)
tree8ab38189496718db7d8054a5a8d984a8918d96d3
parent929512da59d8678ac37c7ac9d0f6c2c9fa968d50 (diff)
from last
-rw-r--r--src/client/views/MainView.tsx3
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: {