fix shadowColor
This commit is contained in:
parent
f12f091c7e
commit
bc62ffea57
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ public class RulerControl extends MapControls {
|
|||
//rulerDrawable = (isNight ? mapActivity.getResources().getDrawable(R.drawable.ruler_night):mapActivity.getResources().getDrawable(R.drawable.ruler));
|
||||
rulerDrawable.draw(canvas);
|
||||
|
||||
rulerTextPaint.setShadowColor(isNight ? 0xdc262626:Color.WHITE);
|
||||
int shadowColor = isNight == true ? 0xdc262626 : Color.WHITE);
|
||||
cacheRulerText.draw(canvas, bounds.left + (bounds.width() - cacheRulerTextLen) / 2, bounds.bottom - 8 * scaleCoefficient,
|
||||
rulerTextPaint, shadowColor);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue