Skip to content

Commit 52ed444

Browse files
committed
🔪 now useless _module.style loop
- as now _module.plot doesn't clear the <g.trace> layers on every call, we don't need to call _module.style to render the correct styling
1 parent 8ca4101 commit 52ed444

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/plots/polar/polar.js

-6
Original file line numberDiff line numberDiff line change
@@ -997,12 +997,6 @@ proto.updateRadialDrag = function(fullLayout, polarLayout) {
997997
var polarLayoutNow = gd._fullLayout[_this.id];
998998

999999
_module.plot(gd, _this, moduleCalcDataVisible, polarLayoutNow);
1000-
1001-
if(!Registry.traceIs(traceType, 'gl')) {
1002-
for(var i = 0; i < moduleCalcDataVisible.length; i++) {
1003-
_module.style(gd, moduleCalcDataVisible[i]);
1004-
}
1005-
}
10061000
}
10071001
}
10081002

0 commit comments

Comments
 (0)