Skip to content

Commit 11c6c68

Browse files
committed
Update visibility level of new member method
1 parent c9dd9b2 commit 11c6c68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/filebrowser/src/listing.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export class DirListing extends Widget {
228228
this._renderer = options.renderer || DirListing.defaultRenderer;
229229

230230
// Get the width of the "modified" column
231-
this.updateModifiedSize(this.node);
231+
this._updateModifiedSize(this.node);
232232

233233
const headerNode = DOMUtils.findElement(this.node, HEADER_CLASS);
234234
// hide the file size column by default
@@ -810,7 +810,7 @@ export class DirListing extends Widget {
810810
}
811811

812812
// Update the modified column's size
813-
updateModifiedSize(node: HTMLElement) {
813+
private _updateModifiedSize(node: HTMLElement) {
814814
const modified = DOMUtils.findElement(node, ITEM_MODIFIED_CLASS);
815815
this._modifiedWidth = modified.getBoundingClientRect().width;
816816
this._modifiedStyle =
@@ -979,7 +979,7 @@ export class DirListing extends Widget {
979979

980980
// Rerender item nodes' modified dates, if the modified style has changed.
981981
const oldModifiedStyle = this._modifiedStyle;
982-
this.updateModifiedSize(this.node);
982+
this._updateModifiedSize(this.node);
983983
if (oldModifiedStyle !== this._modifiedStyle) {
984984
this.updateModified(this._sortedItems, this._items);
985985
}

0 commit comments

Comments
 (0)