mirror of
https://github.com/sbrl/Nibriboard.git
synced 2018-01-10 21:33:49 +00:00
[client] Make fetchLineFragments while condition more restrictive.
Looks like the issue lies in the fact we don't have unique ids on a per-line-fragment basis, so that's next up I guess.
This commit is contained in:
parent
c3952f0778
commit
03be60b3b0
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class ChunkCache
|
||||||
let lineFragments = [];
|
let lineFragments = [];
|
||||||
let currentChunk = this.fetchChunk(startingChunkRef);
|
let currentChunk = this.fetchChunk(startingChunkRef);
|
||||||
|
|
||||||
while(currentChunk != null)
|
while(currentChunk instanceof Chunk)
|
||||||
{
|
{
|
||||||
let nextLineFragment = currentChunk.getLineById(lineId);
|
let nextLineFragment = currentChunk.getLineById(lineId);
|
||||||
if(nextLineFragment == null)
|
if(nextLineFragment == null)
|
||||||
|
|
Loading…
Reference in a new issue