diff --git a/src/components/Timeline.vue b/src/components/Timeline.vue index 81659f50..1c822edc 100644 --- a/src/components/Timeline.vue +++ b/src/components/Timeline.vue @@ -61,7 +61,8 @@ -
- -
+ :data="photo" + :day="item.day" + @select="selectionManager.selectPhoto" + @pointerdown="selectionManager.clickPhoto(photo, $event, index)" + @touchstart="selectionManager.touchstartPhoto(photo, $event, index)" + @touchend="selectionManager.touchendPhoto(photo, $event, index)" + @touchmove="selectionManager.touchmovePhoto(photo, $event, index)" + /> diff --git a/src/components/frame/Photo.vue b/src/components/frame/Photo.vue index f4f59c67..64d49fcf 100644 --- a/src/components/frame/Photo.vue +++ b/src/components/frame/Photo.vue @@ -1,64 +1,66 @@