diff --git a/src/platform/web/ui/general/LazyListView.ts b/src/platform/web/ui/general/LazyListView.ts index 81b57264..1696f044 100644 --- a/src/platform/web/ui/general/LazyListView.ts +++ b/src/platform/web/ui/general/LazyListView.ts @@ -22,7 +22,6 @@ import {IView} from "./types"; export interface IOptions extends IParentOptions { itemHeight: number; - overflowMargin?: number; overflowItems?: number; } @@ -34,13 +33,12 @@ export class LazyListView extends ListView { private scrollContainer?: HTMLElement; constructor( - {itemHeight, overflowMargin = 5, overflowItems = 20, ...options}: IOptions, + {itemHeight, overflowItems = 20, ...options}: IOptions, childCreator: (value: T) => V ) { super(options, childCreator); this.itemHeight = itemHeight; this.overflowItems = overflowItems; - // TODO: this.overflowMargin = overflowMargin; } handleEvent(e: Event) {