mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-09-23 07:05:51 -04:00
Fix white border in dark theme
This commit is contained in:
1 parent
5774064da7
commit
368a2a30f6
1 file changed
+2
-2
@@ -123,14 +123,14 @@ class BarcodeImageWriterTask extends AsyncTask<Void, Void, Bitmap>
|
||||
|
||||
for (int y = 0; y < bitMatrixHeight; y++)
|
||||
{
|
||||
if(enclosingRectangle != null && (y < top || y > bottom))
|
||||
if(enclosingRectangle != null && (y < top || y >= bottom))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
int offset = y * bitMatrixWidth;
|
||||
for (int x = 0; x < bitMatrixWidth; x++)
|
||||
{
|
||||
if(enclosingRectangle != null && (x < left || x > right))
|
||||
if(enclosingRectangle != null && (x < left || x >= right))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user