Cannot use a single menu item.
mtwillet opened this issue · comments
mtwillet commented
When creating a menu with a single item
fanViewButton.items = [FanMenuButton(
id: "test",
image: UIImage(named: "Hook"),
color: Color.clear
)]
you get the following error.
Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem.
Can you give some guidance on how to set it up to use a single menu option?
Dmitry Shipinev commented
Hi @mtwillet. Thanks for pointing this out. Fix for this issue added to the master branch and will be included in the upcoming release.