From 7c2d2e720edb8b019c8c847426e1f76b285b547a Mon Sep 17 00:00:00 2001
From: Joery <44531907+Joery-M@users.noreply.github.com>
Date: Mon, 6 May 2024 21:12:13 +0200
Subject: [PATCH] feat: Added list and scaling to library
Also added context menu to library item
---
.../src/components/Editor/Library/Library.vue | 92 +++++++---
.../Editor/Library/LibraryGridItem.vue | 25 ++-
.../Editor/Library/LibraryListItem.vue | 157 ------------------
3 files changed, 87 insertions(+), 187 deletions(-)
delete mode 100644 packages/safelight/src/components/Editor/Library/LibraryListItem.vue
diff --git a/packages/safelight/src/components/Editor/Library/Library.vue b/packages/safelight/src/components/Editor/Library/Library.vue
index 9ec618cb..ca20a8bb 100644
--- a/packages/safelight/src/components/Editor/Library/Library.vue
+++ b/packages/safelight/src/components/Editor/Library/Library.vue
@@ -13,6 +13,9 @@
},
emptyMessage: {
style: 'height: 100%;'
+ },
+ footer: {
+ style: 'flex-grow: 1; display: flex; align-items: end'
}
}"
layout="grid"
@@ -60,16 +63,12 @@
-
+
@@ -84,6 +83,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
+
+ {{ Timecode.toFormattedTimecode(5000) }}
+
+
+ {{ Timecode.toFormattedTimecode(data.duration.value * 1000) }}
+
@@ -167,6 +194,7 @@