Skip to content
Permalink
Browse files
Merge pull request #9480 from cuijian-dexter/Fix#9471
Fix #9471
  • Loading branch information
100pah committed Dec 2, 2018
2 parents 7e9a785 + 4c86ca5 commit 4775c37297221f8328006c8839b7f2b993d085bb
Showing 1 changed file with 1 addition and 1 deletion.
@@ -324,7 +324,7 @@ var ScrollableLegendView = LegendView.extend({

if (targetItemGroup) {
var itemRect = targetItemGroup.getBoundingRect();
var itemLoc = targetItemGroup.position[orientIdx] + itemRect[xy];
var itemLoc = targetItemGroup.position[orientIdx];
contentPos[orientIdx] = -itemLoc - contentRect[xy];
pageIndex = Math.floor(
pageCount * (itemLoc + itemRect[xy] + containerRectSize / 2) / contentRect[wh]

0 comments on commit 4775c37

Please sign in to comment.