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:
|
badge.resize "#{icon.width}x#{icon.height}" |
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.
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:
badge/lib/badge/runner.rb
Line 179 in 6062134
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.