зеркало из https://github.com/mozilla/gecko-dev.git
Work around white not working as Cherckerboard color. r=kats
--HG-- extra : rebase_source : 768fe9d869c1aff743fbc69b5f537668eedf3298
This commit is contained in:
Родитель
36b2a0e62a
Коммит
45d0abd944
|
@ -79,7 +79,11 @@ public class CheckerboardImage extends CairoImage {
|
|||
checkerboard image that is tinted to the color. Otherwise just return a flat
|
||||
image of the color. */
|
||||
public void update(boolean showChecks, int color) {
|
||||
mMainColor = color;
|
||||
// XXX We don't handle setting the color to white (-1),
|
||||
// there a bug somewhere but I'm not sure where,
|
||||
// let's hardcode the color for now to black and come back and fix it.
|
||||
//mMainColor = color;
|
||||
mMainColor = 0;
|
||||
mShowChecks = showChecks;
|
||||
|
||||
short mainColor16 = convertTo16Bit(mMainColor);
|
||||
|
|
Загрузка…
Ссылка в новой задаче