Skip to content

Conversation

@RubenKelevra
Copy link
Contributor

With the current images "ic_car*" this is not causing any harm, however if the image is turned 90° the integer math can lead to 0 as result for height/width. Leading to Infinity as results.

To avoid issues after exchanging/adding the images in the future, implicit floating point operations are required.

With the current images "ic_car*" this is not causing any harm, however if the image
is turned 90° the integer math can lead to 0 as result for height/width. Leading to
Infinity as results.

To avoid issues after exchanging/adding the images in the future, implicit floating
point operations are required.
@westnordost westnordost merged commit 2bb3530 into streetcomplete:master Jun 8, 2025
@westnordost
Copy link
Member

thanks

@RubenKelevra RubenKelevra deleted the fix_int_math_street_parking_drawable branch June 8, 2025 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants