mirror of
https://gitee.com/antv/g6.git
synced 2024-12-05 05:09:07 +08:00
fix(shape): remove unnecessary code
This commit is contained in:
parent
c6d83cedaa
commit
2ff47bb81a
@ -119,7 +119,6 @@ const SingleShape = {
|
||||
}
|
||||
const stateStyle = item.getStateStyle(name);
|
||||
if (value) { // 如果设置状态,在原本状态上叠加绘图属性
|
||||
item.getStateStyle(stateStyle);
|
||||
shape.attr(stateStyle);
|
||||
} else { // 取消状态时重置所有状态,依次叠加仍有的状态
|
||||
const style = item.getCurrentStatesStyle();
|
||||
|
Loading…
Reference in New Issue
Block a user