kopia lustrzana https://github.com/olgamiller/SSTVEncoder2
Fixed color selection on the right side of the color grid
rodzic
a2911345c5
commit
f53c75cf26
|
@ -162,7 +162,7 @@ class GridColorPalette implements IColorPalette {
|
||||||
|
|
||||||
int column = (int) (x / (mBoxSize + mSpace));
|
int column = (int) (x / (mBoxSize + mSpace));
|
||||||
int row = (int) (y / (mBoxSize + mSpace));
|
int row = (int) (y / (mBoxSize + mSpace));
|
||||||
if (0 > row || row >= mRows || 0 > column && column >= mColumns)
|
if (0 > row || row >= mRows || 0 > column || column >= mColumns)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
int i = row * mColumns + column;
|
int i = row * mColumns + column;
|
||||||
|
|
Ładowanie…
Reference in New Issue