Skip to content

Commit 4c24048

Browse files
author
Vladimir Enchev
committed
segmented bar new android props fixes
1 parent 9ee7d5f commit 4c24048

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/segmented-bar/segmented-bar.android.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ class SegmentedBarColorDrawable extends android.graphics.drawable.ColorDrawable
9595

9696
public draw(canvas: android.graphics.Canvas): void {
9797
var p = new android.graphics.Paint();
98-
p.setColor(this.Color);
98+
p.setColor(this.getColor());
9999
p.setStyle(android.graphics.Paint.Style.FILL);
100-
canvas.drawRect(0, this.Bounds.height() - 15, this.Bounds.width(), this.Bounds.height(), p);
100+
canvas.drawRect(0, this.getBounds().height() - 15, this.getBounds().width(), this.getBounds().height(), p);
101101
}
102102
}
103103

0 commit comments

Comments
 (0)