Commit 6f93b82
fix(partition): simplify redundant condition in chart drawing
Remove redundant `else if (m_sumValue >= 100)` condition check,
simplify to `else` since the preceding `if` already covers the
complementary case.
简化分区图表绘制中冗余的条件判断,将 else if 简化为 else。
Log: 简化分区图表绘制冗余条件
PMS: https://pms.uniontech.com/bug-view-354861.html
Influence: 仅代码逻辑简化,不影响功能行为。1 parent 18b5323 commit 6f93b82
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| |||
0 commit comments