Commit 081a55e3 authored by Meg Ford's avatar Meg Ford

listview.js: fix duration string bug

parent 16df1177
......@@ -178,7 +178,7 @@ const Listview = new Lang.Class({
this.totItems = this.getItemCount();
this.startIdx = this._controller.getOffset();
log("this.startIdx" + this.startIdx);
this.ensureCount = this.startIdx + this._controller.getOffset() - 1;
this.ensureCount = this.startIdx + this._controller.getOffsetStep() - 1; ;
if (this.ensureCount < this.totItems)
this.endIdx = this.ensureCount;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment