Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
As discussed in #2748307: Aspect Switcher, increase granularity of the ratio adjustment to 2nd decimal digit.
Comment | File | Size | Author |
---|---|---|---|
#5 | 2956733-5.patch | 2.41 KB | mondrake |
#5 | 2956733-5-test-only.patch | 1.4 KB | mondrake |
Comments
Comment #2
mondrakePatch
Comment #3
lukedekker CreditAttribution: lukedekker commentedOh awesome, I was just about to create this myself. Thanks for providing the patch @mondrake.
Works perfectly for me.
Comment #4
mondrakeI think we can tweak a bit the AspectSwitcherTest and check that the ImageStyle config entity stores the adj ratio with double decimal digits.
Comment #5
mondrakeAdded a test.
Comment #7
mondrakeComment #10
mondrakeCommitted.