COde cleanup

This commit is contained in:
vakrilov
2015-07-06 14:43:40 +03:00
parent ac6801fd1c
commit 6bb875cb8e
4 changed files with 2 additions and 5 deletions

View File

@@ -55,7 +55,6 @@ export module ad {
set background(value: common.Background) {
if (this._background !== value) {
this._background = value;
this.invalidateSelf();
}
}
@@ -123,7 +122,8 @@ export module ad {
let borderPaint = new android.graphics.Paint();
borderPaint.setStyle(android.graphics.Paint.Style.STROKE);
borderPaint.setColor(this._borderColor);
// Notes double the stroke as the outer part will be clipped
// Note: Double the stroke as the outer part will be clipped.
borderPaint.setStrokeWidth(stroke * 2);
canvas.drawRoundRect(boundsF, radius, radius, borderPaint)
}