-
-
Notifications
You must be signed in to change notification settings - Fork 993
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(RadialMenu): ensure button placement is calculated correctly
The angles of the generated buttons was being calculated incorrectly due to a division by an integer rather than a float which caused certain button amounts to unevenly distribute around the radial menu (e.g. 7 buttons). Any reference to a float should use a float in the calculation or equation by defining the `f` suffix to ensure it doesn't fall back to using integers. Thanks to @rivierasolutions for the fix.
- Loading branch information
1 parent
0c79038
commit b0305b0
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters