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