Skip to content

Commit 8685e7a

Browse files
author
Anthony Dresser
committed
Merge branch 'master' into release/1.4.3
2 parents 36d949e + 28edffa commit 8685e7a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

components/js/interfaces.ts

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export interface IObservableCollection<T> {
2626
at(index: number): T;
2727
getRange(start: number, end: number): T[];
2828
setCollectionChangedCallback(callback: (change: CollectionChange, startIndex: number, count: number) => void): void;
29+
resetWindowsAroundIndex(index: number): void;
2930
}
3031

3132
export class CancellationToken {

components/js/virtualizedCollection.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export class VirtualizedCollection<TData> implements IObservableCollection<TData
166166
return this._placeHolderGenerator(index);
167167
}
168168

169-
private resetWindowsAroundIndex(index: number): void {
169+
resetWindowsAroundIndex(index: number): void {
170170

171171
let bufferWindowBeforeStart = Math.max(0, index - this._windowSize * 1.5);
172172
let bufferWindowBeforeEnd = Math.max(0, index - this._windowSize / 2);

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular2-slickgrid",
3-
"version": "1.4.2",
3+
"version": "1.4.3",
44
"description": "",
55
"main": "out/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)