aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/OpenWhere.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-05-10 14:05:01 -0400
committerbobzel <zzzman@gmail.com>2024-05-10 14:05:01 -0400
commit4b4d77f99bd55e6de0593c3acd1cf5798ae038bf (patch)
tree0fa27b0344c4252833b9d36dbe69f172141b846e /src/client/views/nodes/OpenWhere.ts
parente12f79e188c32787b5749eba54183002f270f998 (diff)
added an always option for OpenWhere lightbox. cleaned up/fixed making collections capable of being a lightbox.
Diffstat (limited to 'src/client/views/nodes/OpenWhere.ts')
-rw-r--r--src/client/views/nodes/OpenWhere.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/nodes/OpenWhere.ts b/src/client/views/nodes/OpenWhere.ts
index e2a5f1f2a..f7101b103 100644
--- a/src/client/views/nodes/OpenWhere.ts
+++ b/src/client/views/nodes/OpenWhere.ts
@@ -5,9 +5,11 @@ export enum OpenWhereMod {
top = 'top',
bottom = 'bottom',
keyvalue = 'keyValue',
+ always = 'always', // forces the open location (lightbox) instead of using an existing open view (see DocumentDecorations)
}
export enum OpenWhere {
lightbox = 'lightbox',
+ lightboxAlways = 'lightbox:always',
add = 'add',
addLeft = 'add:left',
addRight = 'add:right',