Skip to content

Commit

Permalink
[BUILD]
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Mar 12, 2024
1 parent 189cd30 commit af55cba
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion dist/ol-ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -8985,7 +8985,8 @@ ol.control.FeatureList.prototype.sort = function() {
// Refresh list
this.refresh(true)
}
/** Refresh the list
/** Refresh the list draw + resize use update if features have changed
* @param {boolean} [force]
*/
ol.control.FeatureList.prototype.refresh = function(force) {
if (force) this._curPage = -1;
Expand All @@ -8996,6 +8997,12 @@ ol.control.FeatureList.prototype.refresh = function(force) {
// resize
this.resize();
}
/** Update the list (when features have changed without dispatching event).
*/
ol.control.FeatureList.prototype.update = function() {
this._drawList();
this.select(this._curSelection.feature, true)
}
/** Get height of a row
* @return {number}
*/
Expand Down Expand Up @@ -9090,6 +9097,7 @@ ol.control.FeatureList.prototype.getColumns = function(features) {
ol.control.FeatureList.prototype.setColumns = function(columns) {
this.columns = columns || [];
this._drawList();
this.select(this._curSelection.feature, true)
}
/** Dragging sizer
* @private
Expand Down
2 changes: 1 addition & 1 deletion dist/ol-ext.min.js

Large diffs are not rendered by default.

0 comments on commit af55cba

Please sign in to comment.