Fix final? problem with binary sort of visibility
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
dc78aabe1c
commit
19120f9712
@ -337,7 +337,7 @@
|
|||||||
start = 0;
|
start = 0;
|
||||||
stop = this.thumbnails.length - 1;
|
stop = this.thumbnails.length - 1;
|
||||||
if (this.visibleThumbs.length) {
|
if (this.visibleThumbs.length) {
|
||||||
index = this.visibleThumbs[stop >> 1];
|
index = this.visibleThumbs[this.visibleThumbs.length >> 1];
|
||||||
} else {
|
} else {
|
||||||
index = length >> 1;
|
index = length >> 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user