Skip to content

Commit b74e9b3

Browse files
committed
code review updates
1 parent 23569ea commit b74e9b3

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/cdk-experimental/column-resize/column-resize-notifier.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface ColumnSizeAction extends ColumnSize {
3333
/**
3434
* Whether the resize action is being applied to a sticky/stickyEnd column.
3535
*/
36-
readonly columnIsSticky?: boolean;
36+
readonly isStickyColumn?: boolean;
3737
}
3838

3939
/**
@@ -63,6 +63,6 @@ export class ColumnResizeNotifier {
6363
/** Instantly resizes the specified column. */
6464
resize(columnId: string, size: number): void {
6565
this._source.triggerResize.next(
66-
{columnId, size, completeImmediately: true, columnIsSticky: true});
66+
{columnId, size, completeImmediately: true, isStickyColumn: true});
6767
}
6868
}

src/cdk-experimental/column-resize/overlay-handle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export abstract class ResizeOverlayHandle implements AfterViewInit, OnDestroy {
144144
columnId: this.columnDef.name,
145145
size: computedNewSize,
146146
previousSize: size,
147-
columnIsSticky: this.columnDef.sticky || this.columnDef.stickyEnd,
147+
isStickyColumn: this.columnDef.sticky || this.columnDef.stickyEnd,
148148
});
149149

150150
this.styleScheduler.scheduleEnd(() => {

src/cdk/table/coalesced-style-scheduler.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ export class _CoalescedStyleScheduler implements OnDestroy {
6767
).subscribe(() => {
6868
while (this._currentSchedule!.tasks.length || this._currentSchedule!.endTasks.length) {
6969
const schedule = this._currentSchedule!;
70+
71+
// Capture new tasks scheduled by the current set of tasks.
7072
this._currentSchedule = new _Schedule();
7173

7274
for (const task of schedule.tasks) {

0 commit comments

Comments
 (0)