fux build
This commit is contained in:
parent
d8bb5530d8
commit
f3d4a641f7
1 changed files with 2 additions and 2 deletions
|
@ -93,10 +93,10 @@ public class RulerControl extends MapControls {
|
|||
rulerDrawable.setBounds(bounds);
|
||||
rulerDrawable.invalidateSelf();
|
||||
}
|
||||
//rulerDrawable = (isNight ? mapActivity.getResources().getDrawable(R.drawable.ruler_night):mapActivity.getResources().getDrawable(R.drawable.ruler));
|
||||
rulerDrawable = (isNight ? mapActivity.getResources().getDrawable(R.drawable.ruler_night) : mapActivity.getResources().getDrawable(R.drawable.ruler));
|
||||
rulerDrawable.draw(canvas);
|
||||
|
||||
int shadowColor = isNight == true ? 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