From 34dd6a2468ef336cbaa15b5d46159876234e5b62 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 7 Sep 2022 16:12:06 -0700 Subject: [PATCH] Show selection background --- src/components/Photo.vue | 37 ++++++++++++++++++++++++------------- src/components/Timeline.vue | 1 + 2 files changed, 25 insertions(+), 13 deletions(-) diff --git a/src/components/Photo.vue b/src/components/Photo.vue index 3d23c240..3b52f26d 100644 --- a/src/components/Photo.vue +++ b/src/components/Photo.vue @@ -1,18 +1,19 @@ @@ -138,6 +139,10 @@ export default { }, toggleSelect() { + if (this.data.ph) { + return; + } + this.$emit('select', this.data); this.$forceUpdate(); }, @@ -147,14 +152,17 @@ export default { \ No newline at end of file diff --git a/src/components/Timeline.vue b/src/components/Timeline.vue index 198c35db..1c6bbca2 100644 --- a/src/components/Timeline.vue +++ b/src/components/Timeline.vue @@ -675,6 +675,7 @@ export default { display: inline-block; position: relative; cursor: pointer; + vertical-align: top; } .head-row {