Skip to content

Commit

Permalink
Merge pull request #11956 from apache/fix-11451
Browse files Browse the repository at this point in the history
fix(map): fix slice is not defined error on typed array. #11451
  • Loading branch information
pissang authored Dec 31, 2019
2 parents f52a0fa + ea331c5 commit 5b96b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/helper/MapDraw.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ MapDraw.prototype = {
var group = this.group;

if (geo._roamTransformable.transform) {
group.transform = geo._roamTransformable.transform.slice();
group.transform = Array.prototype.slice.call(geo._roamTransformable.transform);
group.decomposeTransform();
}

Expand Down

0 comments on commit 5b96b08

Please sign in to comment.