mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
extensions part highlight
This commit is contained in:
@@ -130,6 +130,8 @@ class Controller<T> implements IDisposable {
|
||||
}
|
||||
|
||||
private onClick(e: IListMouseEvent<T>) {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
this.list.setSelection(e.index);
|
||||
}
|
||||
|
||||
@@ -193,6 +195,10 @@ export class List<T> implements IDisposable {
|
||||
return this.view.getScrollHeight();
|
||||
}
|
||||
|
||||
get scrollTop(): number {
|
||||
return this.view.getScrollTop();
|
||||
}
|
||||
|
||||
layout(height?: number): void {
|
||||
this.view.layout(height);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user