aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/TabDocView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-12-03 10:16:21 -0500
committerbobzel <zzzman@gmail.com>2020-12-03 10:16:21 -0500
commit2770f8609818b11b3073ded0bec437abc333f37f (patch)
tree68e1d262d0eccc5485526b444837663527490745 /src/client/views/collections/TabDocView.tsx
parent3b045d03656383df81515485032bfda9e2b16409 (diff)
fixed default textbox background color. added icons to treevie displays
Diffstat (limited to 'src/client/views/collections/TabDocView.tsx')
-rw-r--r--src/client/views/collections/TabDocView.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx
index b7e81d7dc..561cd7cb1 100644
--- a/src/client/views/collections/TabDocView.tsx
+++ b/src/client/views/collections/TabDocView.tsx
@@ -448,7 +448,7 @@ export class TabDocView extends React.Component<TabDocViewProps> {
case DocumentType.PRESELEMENT: docColor = TabDocView.darkScheme ? "" : ""; break;
case DocumentType.PRES: docColor = TabDocView.darkScheme ? "#3e3e3e" : "white"; break;
case DocumentType.FONTICON: docColor = "black"; break;
- case DocumentType.RTF: docColor = TabDocView.darkScheme ? "#2d2d2d" : "#f1efeb";
+ case DocumentType.RTF: docColor = TabDocView.darkScheme ? "#2d2d2d" : "#f1efeb"; break;
case DocumentType.LABEL:
case DocumentType.BUTTON: docColor = TabDocView.darkScheme ? "#2d2d2d" : "lightgray"; break;
case DocumentType.LINK:
@@ -463,6 +463,7 @@ export class TabDocView extends React.Component<TabDocViewProps> {
if (docColor && (!doc || layerProvider?.(doc) === false)) docColor = Color(docColor).fade(0.5).toString();
return docColor;
}
+ case "widgetColor": return TabDocView.darkScheme ? "lightgrey" : "dimgrey";
case "hidden": return (BoolCast(doc?.hidden) /* || layerProvider?.(doc) === false*/);
case "boxShadow": {
switch (doc?.type) {