Commit 07787e0
committed
Throw a exception when user contains mistake to call aspectRatio with non-positive values. This is exist behavior of SwiftUI's Image (But the exception is different)
1 parent bd635fd commit 07787e0
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
| 499 | + | |
| 500 | + | |
499 | 501 | | |
500 | 502 | | |
501 | 503 | | |
| |||
0 commit comments