You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the ManualImageCrop class checks whether it should create a Retina crop for the current image, the check will always return false. This is because the make2x data value is initialized as a boolean in filterPostData():
When the
ManualImageCrop
class checks whether it should create a Retina crop for the current image, the check will always return false. This is because themake2x
data value is initialized as a boolean infilterPostData()
:...but when
cropImage()
checks this value, it uses the strict comparison operator against a string:The code should instead check against literal
true
(or, since it represents a checkbox, assume any truthy value means "yes").I will make a PR for this soon. :)
The text was updated successfully, but these errors were encountered: