Skip to content
Snippets Groups Projects
Commit da213b06 authored by Travis Ralston's avatar Travis Ralston
Browse files

Always return dimensions instead of asking for a 0x0 image

parent 386dc053
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ func AdjustProperties(srcWidth int, srcHeight int, desiredWidth int, desiredHeig
} else if canAnimate {
return true, srcWidth, srcHeight, false, method
} else {
return false, 0, 0, false, method
return false, desiredWidth, desiredHeight, false, method
}
}
return true, desiredWidth, desiredHeight, wantAnimated, method
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment