Skip to content

Commit

Permalink
Merge pull request #673 from badoo/fix-image-stretching
Browse files Browse the repository at this point in the history
Fix image stretching
  • Loading branch information
wiruzx authored Sep 17, 2020
2 parents eefb2e5 + e28cf98 commit 5738ac0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ChattoAdditions/Source/Common/CALayer+ImageMask.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ private extension CGRect {
relative.bottom /= size.height

return CGRect(
x: relative.top,
y: relative.left,
x: relative.left,
y: relative.top,
width: 1 - (relative.left + relative.right),
height: 1 - (relative.top + relative.bottom)
)
Expand Down

0 comments on commit 5738ac0

Please sign in to comment.