mherger wrote:
> >what I said before about the empty list while scrolling I wasn't
> able to reproduce with the master branch. But it's very obvious with the
>
> new implementation.
This -might- not help, but if you edit handleScroll() in browse-page.js
@ line 2706 to be:
Code:
--------------------
handleScroll() {
this.menu.show = false;
this.vs.scrollTop = this.scrollElement.scrollTop;
if (undefined!=this.filteredJumplist && this.filteredJumplist.length>1) {
if (undefined!==this.letterTimeout) {
clearTimeout(this.letterTimeout);
}
var subMod = this.grid.haveSubtitle ? 0 : GRID_SINGLE_LINE_DIFF;
var index = this.grid.use // Add 50 to take
into account text size
? Math.floor((this.scrollElement.scrollTop+(50-subMod)) /
(this.grid.ih-subMod))*this.grid.numColumns
: Math.floor(this.scrollElement.scrollTop / LMS_LIST_ELEMENT_SIZE);
if (this.$store.state.letterOverlay) {
if (index>=0 && index<this.items.length) {
var letter = this.items[index].textkey;
if (this.letter!=letter) {
this.letter = letter;
this.letterOverlay.innerHTML = letter;
}
this.letterTimeout = setTimeout(function () {
this.letter = undefined;
}.bind(this), 500);
} else {
this.letter = undefined;
}
this.letterTimeout = setTimeout(function () {
this.letter = undefined;
}.bind(this), 500);
} else {
this.letter = undefined;
}
this.jumplistActive = 0;
for (var i=0, len=this.filteredJumplist.length; i<len; ++i) {
if (this.filteredJumplist[i].index<=index) {
this.jumplistActive = i;
} else {
break;
}
}
}
},
--------------------
...does that make -any- difference? I only ask as the current version
waits for an 'animation' from before updating, the modified version
above removes this. (I'm not expecting any real difference, just
checking :) )
*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=109624
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins