Add scroller patch
parent
258e62e4aa
commit
25621959d7
|
@ -9,6 +9,7 @@ This file is manually updated. Please file an issue if something is missing.
|
|||
- Memories now comes with a dedicated transcoding server with HLS support.
|
||||
- Read the documentation [here](https://github.com/pulsejet/memories/wiki/Configuration#video-transcoding) carefully for more details.
|
||||
- **Feature**: Show EXIF metadata in sidebar ([#68](https://github.com/pulsejet/memories/issues/68))
|
||||
- **Feature**: Multi-selection with drag (mobile) and shift+click ([#28](https://github.com/pulsejet/memories/issues/28))
|
||||
- **Feature**: Show duration on video tiles
|
||||
- **Feature**: Allow editing all image formats (HEIC etc.)
|
||||
- Fix stretched images in viewer ([#176](https://github.com/pulsejet/memories/issues/176))
|
||||
|
|
3
Makefile
3
Makefile
|
@ -27,7 +27,8 @@ build-js-production:
|
|||
rm -f js/* && npm run build
|
||||
|
||||
patch-external:
|
||||
patch -p1 < patches/scroller.patch
|
||||
patch -p1 < patches/scroller-perf.patch
|
||||
patch -p1 < patches/scroller-sticky.patch
|
||||
|
||||
watch-js:
|
||||
npm run watch
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
--- ./node_modules/vue-virtual-scroller/dist/vue-virtual-scroller.esm.js 2022-11-12 00:44:05.303602165 -0800
|
||||
+++ ./node_modules/vue-virtual-scroller/dist/vue-virtual-scroller.esm.js 2022-11-12 00:43:40.030571395 -0800
|
||||
@@ -425,7 +425,7 @@
|
||||
}
|
||||
|
||||
// Check if index is still in visible range
|
||||
- if (view.nr.index === -1 || view.nr.index < startIndex || view.nr.index >= endIndex) {
|
||||
+ if (!view.item.virtualSticky && (view.nr.index === -1 || view.nr.index < startIndex || view.nr.index >= endIndex)) {
|
||||
this.unuseView(view);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue