Fix #167: undefined 'tops' reference aborted renumber() with wrap on #204
@@ -77,7 +77,7 @@
|
|||||||
// gutter pass that changes the code column width reflows it. Verify the
|
// gutter pass that changes the code column width reflows it. Verify the
|
||||||
// placement one frame later and re-run if any line's row moved (#167).
|
// placement one frame later and re-run if any line's row moved (#167).
|
||||||
var placed = {};
|
var placed = {};
|
||||||
for (var q = 0; q < tops.length; q++) placed[q] = Math.round((tops[q] - bodyTop) / lh);
|
for (var q = 0; q < rowIdx.length; q++) placed[q] = rowIdx[q];
|
||||||
requestAnimationFrame(function () {
|
requestAnimationFrame(function () {
|
||||||
var moved = false;
|
var moved = false;
|
||||||
var tops2 = [];
|
var tops2 = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user