refact: Optimize Rect _onValueChanged callback. #2407
46.15% of diff hit (target 69.48%)
View this Pull Request on Codecov
46.15% of diff hit (target 69.48%)
Annotations
Check warning on line 20 in packages/math/src/Rect.ts
codecov / codecov/patch
packages/math/src/Rect.ts#L20
Added line #L20 was not covered by tests
Check warning on line 22 in packages/math/src/Rect.ts
codecov / codecov/patch
packages/math/src/Rect.ts#L22
Added line #L22 was not covered by tests
Check warning on line 41 in packages/math/src/Rect.ts
codecov / codecov/patch
packages/math/src/Rect.ts#L41
Added line #L41 was not covered by tests
Check warning on line 53 in packages/math/src/Rect.ts
codecov / codecov/patch
packages/math/src/Rect.ts#L53
Added line #L53 was not covered by tests
Check warning on line 65 in packages/math/src/Rect.ts
codecov / codecov/patch
packages/math/src/Rect.ts#L65
Added line #L65 was not covered by tests
Check warning on line 77 in packages/math/src/Rect.ts
codecov / codecov/patch
packages/math/src/Rect.ts#L77
Added line #L77 was not covered by tests