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
Android: Allow non-square overlay control images #9944
Android: Allow non-square overlay control images #9944
Conversation
This removes an assumption in the code which made every overlay control image be scaled to a square even if the actual image was rectangular.
|
FifoCI detected that this change impacts graphical rendering. Here are the behavior differences detected by the system:
automated-fifoci-reporter |
|
im tested it but it seem no change. the classic L & R button still has Rectangle Bound, in my phone width and height still 259x259 |
|
That's because I didn't change any of the image files. I was thinking that could be done in a separate PR if desired. |
|
im using crop before scaled, everything looked fine and now if any button gotten hit on transparent area it will be not get pressed state, but my code look like dirty |
|
Any news about this? |
|
As far as I'm concerned, this is ready to go. |
|
I don't have a good way of testing rectangular images at the moment but LGTM |
This removes an assumption in the code which made every overlay control image be scaled to a square even if the actual image was rectangular.