Open BrettThePark opened 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.
I can confirm. Is anyone updating this repo any longer
same issue, waiting for update
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.