badge icon indicating copy to clipboard operation
badge copied to clipboard

Badge_Gravity has no effect

Open BrettThePark opened this issue 2 years ago • 2 comments

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.

BrettThePark avatar Nov 03 '21 21:11 BrettThePark

I can confirm. Is anyone updating this repo any longer

justdan0227 avatar Jan 19 '22 23:01 justdan0227

same issue, waiting for update

suesitran avatar May 10 '22 07:05 suesitran