From bf5bf176b133561efa96868cc2f9bdc5b534192b Mon Sep 17 00:00:00 2001 From: Mingze Date: Fri, 18 Sep 2020 15:57:10 -0700 Subject: [PATCH] feat(annotations): Hide PopupCursor in discovery default mode (#1259) --- src/lib/viewers/doc/_docBase.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/lib/viewers/doc/_docBase.scss b/src/lib/viewers/doc/_docBase.scss index 1ce0bfc7a..27ee736c9 100644 --- a/src/lib/viewers/doc/_docBase.scss +++ b/src/lib/viewers/doc/_docBase.scss @@ -334,6 +334,11 @@ $thumbnail-sidebar-width: 226px; .bp-content { &.bp-annotations-discoverable { + // Hide cursor popup in default mode + .ba-PopupCursor { + display: none; + } + .textLayer { pointer-events: none; @@ -343,6 +348,11 @@ $thumbnail-sidebar-width: 226px; } &.bp-annotations-create--region { + // Reset cursor popup in explicit region mode + .ba-PopupCursor { + display: block; + } + .textLayer { span { pointer-events: none;