diff options
author | bobzel <zzzman@gmail.com> | 2022-12-08 14:49:19 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-12-08 14:49:19 -0500 |
commit | b92b366cdf6b745848a3ecea9b68fc7d9edd676f (patch) | |
tree | f8198049ca9bf0118f5c7e6c97df67d46bfaad8a /src/client/views/StyleProvider.tsx | |
parent | 52a435b09013619209b8bcc6758baeca47d5d350 (diff) |
adjusting explore mode to work better within nested collections.
Diffstat (limited to 'src/client/views/StyleProvider.tsx')
-rw-r--r-- | src/client/views/StyleProvider.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/StyleProvider.tsx b/src/client/views/StyleProvider.tsx index b77f01250..ece224c68 100644 --- a/src/client/views/StyleProvider.tsx +++ b/src/client/views/StyleProvider.tsx @@ -279,6 +279,7 @@ export function DefaultStyleProvider(doc: Opt<Doc>, props: Opt<DocumentViewProps } } case StyleProp.PointerEvents: + if (MainView.Instance._exploreMode) return 'all'; if (doc?.pointerEvents) return StrCast(doc.pointerEvents); if (props?.pointerEvents?.() === 'none') return 'none'; const isInk = doc && StrCast(Doc.Layout(doc).layout).includes(InkingStroke.name); |