Closed lslzl3000 closed 4 years ago
By the way, as #17 suggestion, can we apply a filter for all accessor functions to reduce the loop? In most of cases, we only update one data at a time, so loop all of them is not a efficient way, especially for functions related to geometry updating process
Thanks @lslzl3000. Should be fixed in v2.12.2
.
Describe the bug The new
polygonCapCurvatureResolution
method only apples in the first creation process. After that, the loop still running with new data or changes, but the polygon won't update.To Reproduce Steps to reproduce the behavior:
polygonCapCurvatureResolution(d=> d.active ? 1 : 10)
, it works finepolygonCapCurvatureResolution
loop will re-run, but the polygon won't changeExpected behavior
polygonCapCurvatureResolution
will change the polygon layers after new loop