-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting Position1 of canvas.Circle higher than its Position2 causes panic. #3949
Comments
Can you please paste the full panic not just the first line? |
I am sorry, I thought it was unnecessary to paste full panic code, because I thought you can try example code and get full panic message, anyways I added it. |
Thanks. More info is always better for bug reports :) |
I have tested your fix in the |
Thanks. It does help the approvers to know that the initial issue is reported fixed. |
Ready on develop branch for next release |
Checklist
Describe the bug
When I make a circle using struct initilazation, I have set Position1 value higher than Position2 and get this panic:
I have noticed if I set
Position1: fyne.NewPos(214, 214)
,Position2: fyne.NewPos(200, 200)
There is no problem. But at 215, 215 and higher (I didn't test all values) gave that panic.How to reproduce
Make a circle as in the example code, then run to see the panic.
Screenshots
No response
Example code
Fyne version
2.3.5-rc2
Go compiler version
1.20
Operating system and version
Ubuntu 22.04
Additional Information
I have faced that issue before 2.3.5-rc2 too.
The text was updated successfully, but these errors were encountered: