aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/newlightbox/NewLightboxView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-11-25 22:57:16 -0500
committerbobzel <zzzman@gmail.com>2023-11-25 22:57:16 -0500
commit33cfc91ed9a6a2fe8b4a5b55ebd9accc24eaa1ae (patch)
tree32b4b6bb6005741408bf470fafd56c935112323a /src/client/views/newlightbox/NewLightboxView.tsx
parent435537b2dc511d2908759240cfc3c6826e8cd291 (diff)
cleanup of rootSelected to default to false. remove unused mobile classes.
Diffstat (limited to 'src/client/views/newlightbox/NewLightboxView.tsx')
-rw-r--r--src/client/views/newlightbox/NewLightboxView.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/newlightbox/NewLightboxView.tsx b/src/client/views/newlightbox/NewLightboxView.tsx
index ca90f6a0f..bde93c761 100644
--- a/src/client/views/newlightbox/NewLightboxView.tsx
+++ b/src/client/views/newlightbox/NewLightboxView.tsx
@@ -5,7 +5,7 @@ import * as React from 'react';
import { Doc, DocListCast, Opt } from '../../../fields/Doc';
import { InkTool } from '../../../fields/InkField';
import { Cast, NumCast, StrCast } from '../../../fields/Types';
-import { emptyFunction, returnEmptyDoclist, returnEmptyFilter, returnTrue } from '../../../Utils';
+import { emptyFunction, returnEmptyDoclist, returnEmptyFilter, returnFalse, returnTrue } from '../../../Utils';
import { DocUtils } from '../../documents/Documents';
import { DocumentManager } from '../../util/DocumentManager';
import { LinkManager } from '../../util/LinkManager';
@@ -302,7 +302,7 @@ export class NewLightboxView extends React.Component<LightboxViewProps> {
styleProvider={DefaultStyleProvider}
ScreenToLocalTransform={this.newLightboxScreenToLocal}
renderDepth={0}
- rootSelected={returnTrue}
+ rootSelected={returnFalse}
docViewPath={returnEmptyDoclist}
childFilters={this.docFilters}
childFiltersByRanges={returnEmptyFilter}