mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
stop firing active cell change events unnecessary (#8983)
This commit is contained in:
@@ -183,9 +183,11 @@ export class NotebookComponent extends AngularDisposable implements OnInit, OnDe
|
|||||||
if (event) {
|
if (event) {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
}
|
}
|
||||||
|
if (!this.model.activeCell || this.model.activeCell.id !== cell.id) {
|
||||||
this.model.updateActiveCell(cell);
|
this.model.updateActiveCell(cell);
|
||||||
this.detectChanges();
|
this.detectChanges();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//Saves scrollTop value on scroll change
|
//Saves scrollTop value on scroll change
|
||||||
public scrollHandler(event: Event) {
|
public scrollHandler(event: Event) {
|
||||||
|
|||||||
Reference in New Issue
Block a user