New readme file

This commit is contained in:
Roman 2014-09-14 15:36:23 +03:00
parent b8020fb1ff
commit 8b8295d61e
4 changed files with 14 additions and 9 deletions

View File

@ -1,9 +0,0 @@
CHANGES
* Improved performance by caching:
- The albums view is stored in memory when changing from the albums to the individual album/photo view.
- When viewing photos, the next picture in the current album is preloaded.
* Default sort order of albums is changed from new to old.
* Fixed scroll position when changing from albums to album and vice versa

5
README Normal file
View File

@ -0,0 +1,5 @@
Experimental fork of Lychee, a photo management system, that features a number of improvements, including:
* Faster photo browsing thanks to caching.
* Default sort order of albums is changed from new to old.
* Preserves scroll position when changing from albums to album and vice versa

View File

@ -3890,6 +3890,8 @@ view = {
},
content: {
scroll_pos: 0,
init: function() {
@ -3924,6 +3926,12 @@ view = {
}
$("img[data-type!='nonretina']").retina();
//restore scroll
if (view.albums.content.scroll_pos != null) {
//$("html, body").setanimate({ scrollTop: view.albums.content.scroll_pos }, "slow");
$("html, body").scrollTop(view.albums.content.scroll_pos);
}
},
@ -4022,6 +4030,7 @@ view = {
$("img[data-type!='svg']").retina();
view.albums.content.scroll_pos = $(document).scrollTop();
//scroll to top
$("html, body").animate({ scrollTop: 0 }, "slow");