File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
blurkit/src/main/java/io/alterac/blurkit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -219,13 +219,13 @@ private Bitmap blur() {
219219 leftOffset = x + leftOffset >= 0 ? leftOffset : 0 ;
220220
221221 int rightOffset = xPadding ;
222- rightOffset = x + getWidth () + rightOffset <= screenWidth ? rightOffset : screenWidth - getWidth () - x ;
222+ rightOffset = x + screenWidth - rightOffset <= screenWidth ? rightOffset : screenWidth + screenWidth - x ;
223223
224224 int topOffset = -yPadding ;
225225 topOffset = y + topOffset >= 0 ? topOffset : 0 ;
226226
227227 int bottomOffset = yPadding ;
228- bottomOffset = y + height + bottomOffset <= screenHeight ? bottomOffset : 0 ;
228+ bottomOffset = y + getHeight () + bottomOffset <= screenHeight ? bottomOffset : 0 ;
229229
230230 // Parent view bitmap, downscaled with mDownscaleFactor
231231 Bitmap bitmap ;
You can’t perform that action at this time.
0 commit comments