mirror of
https://github.com/material-components/material-components-ios.git
synced 2026-02-20 08:27:32 +08:00
Rather than potentially returning a CGRectNull and causing UIKit crashes if it's assigned to a view's frame or bounds, treat a scale of 0 as a scale of 1. Closes #2044