evui 3.4.72 → 3.4.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/evui.common.js
CHANGED
|
@@ -11224,7 +11224,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
11224
11224
|
/***/ "9224":
|
|
11225
11225
|
/***/ (function(module) {
|
|
11226
11226
|
|
|
11227
|
-
module.exports = JSON.parse("{\"a\":\"3.4.
|
|
11227
|
+
module.exports = JSON.parse("{\"a\":\"3.4.73\"}");
|
|
11228
11228
|
|
|
11229
11229
|
/***/ }),
|
|
11230
11230
|
|
|
@@ -46703,8 +46703,8 @@ var plugins_legend_modules = {
|
|
|
46703
46703
|
*/
|
|
46704
46704
|
updateStartEndRowIndex: function updateStartEndRowIndex() {
|
|
46705
46705
|
var index = Math.max(Math.floor(this.legendBoxDOM.scrollTop / this.legendItemHeight), 0);
|
|
46706
|
-
this.startRowIndex = index
|
|
46707
|
-
this.endRowIndex = this.startRowIndex + this.visibleRowCount;
|
|
46706
|
+
this.startRowIndex = Math.min(index, Math.max(this.totalRowCount - this.visibleRowCount, 0));
|
|
46707
|
+
this.endRowIndex = this.startRowIndex + this.visibleRowCount + 1;
|
|
46708
46708
|
},
|
|
46709
46709
|
|
|
46710
46710
|
/**
|