Fixed console warning message "ignoring singular matrix" when dealing with PieChart #211
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixed console warning message "ignoring singular matrix: ProjectionTransform(m11: 5e-324, m12: 0.0, m13: 0.0, m21: 0.0, m22: 5e-324, m23: 0.0, m31: 100.0, m32: 100.0, m33: 1.0)" when dealing with PieChart by modifying scale effect
Description
When dealing with PieChart, we have this warning message in console "ignoring singular matrix". This is an issue when dealing with ScaleEffect modifier.
https://stackoverflow.com/questions/63630107/swiftui-unknown-process-name-cgaffinetransforminvert-singular-matrix-error
Motivation and Context
This is just a simple modification to avoid useless warning spamming messages on the console
How Has This Been Tested?
new-version-beta2
Testing on Xcode 12.4 / Project build on iOS 14.1
Screenshots (if appropriate):
Screenshot of the issue:
Types of changes
Checklist: