aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/StyleProvider.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-08-26 16:46:13 -0400
committerbobzel <zzzman@gmail.com>2024-08-26 16:46:13 -0400
commit3f31aaa6b667e7b5f31b2f2b4e13a0879348602c (patch)
tree0f3444b5eb7baab21a1613d3538030296495fff0 /src/client/views/StyleProvider.tsx
parentd12b43191e01e837d5a144fb19d9d3cd8eadd777 (diff)
added recognizeFaces for face images
Diffstat (limited to 'src/client/views/StyleProvider.tsx')
-rw-r--r--src/client/views/StyleProvider.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/StyleProvider.tsx b/src/client/views/StyleProvider.tsx
index e48994586..76cb119ab 100644
--- a/src/client/views/StyleProvider.tsx
+++ b/src/client/views/StyleProvider.tsx
@@ -236,6 +236,8 @@ export function DefaultStyleProvider(doc: Opt<Doc>, props: Opt<FieldViewProps &
case DocumentType.MAP:
case DocumentType.SCREENSHOT:
case DocumentType.VID: docColor = docColor || (Colors.LIGHT_GRAY); break;
+ case DocumentType.UFACE: docColor = docColor || "dimgray";break;
+ case DocumentType.FACECOLLECTION: docColor = docColor || Colors.DARK_GRAY;break;
case DocumentType.COL:
docColor = docColor || (doc && Doc.IsSystem(doc)
? SnappingManager.userBackgroundColor