debugging

pull/1/head
Oliver Kennedy 2018-04-27 21:07:28 -04:00
parent 7d25ee89b0
commit bbd0e440cd
1 changed files with 2 additions and 2 deletions

View File

@ -58,8 +58,8 @@ module ImageSmith
}
fields = {
src: uri,
width: size[0],
height: size[1],
width: size[0] + padding[:left] + padding[:right],
height: size[1] + padding[:top] + padding[:bottom],
style: style.map { |k, v| "#{k}:#{v}" }.join(';')
}