HazAT / badge

Add a badge to your app icon
MIT License
966 stars 87 forks source link

Badge_Gravity has no effect #113

Open BrettThePark opened 3 years ago

BrettThePark commented 3 years ago

In the current release, --badge_gravity has no effect (note: --shield_gravity works).

The reason for the "failure" is that the default badges are the same aspect ratio as standard icons (they aren't "generated") and are fitted here: https://github.com/HazAT/badge/blob/6062134a57d9f149949653cf20b0194cfac8bc0b/lib/badge/runner.rb#L179

So the badge gravity "feels" like it has no effect. If a custom badge is provided that is a different aspect ratio the badge gravity move it just a bit.

justdan0227 commented 2 years ago

I can confirm. Is anyone updating this repo any longer

suesitran commented 2 years ago

same issue, waiting for update