-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ImageButton ignoring input Image rounding #3486
Comments
@v-kat did you end up working on this? I'm looking for ways to get comfortable with contributing to egui and the code base in general. Thinking this bug may be a nice intro if you didn't already take it on. |
I haven't thanks for asking. You can go ahead with it. I also wanted to check on keyboard support for |
great thanks! |
@v-kat I opened draft PR for this last night (and also added a note/question in there about my current approach). If you get a moment just let me know if there's anything you would change and if not I'll mark it ready for review. I did mention in the PR too that a new |
https://github.com/emilk/egui/blob/master/crates/egui/src/widgets/button.rs#L620 is the problem line I believe
Expected behavior
The image button should respect the input image's rounding. There should also maybe be an exposed
.rounding
method on theImageButton
. I might try to fix this later myself....The text was updated successfully, but these errors were encountered: