|
@@ -148,8 +148,9 @@ export class TipelineItem extends SPolylineItem {
|
|
|
onDraw(painter) {
|
|
|
if (this.maskFlag && this.status == SItemStatus.Normal) {
|
|
|
let color = new SColor(this.strokeColor)
|
|
|
- color.alpha = 1
|
|
|
+ color.alpha = color.alpha / 8
|
|
|
painter.pen.color = color
|
|
|
+
|
|
|
if (this.selected) {
|
|
|
painter.pen.lineWidth = painter.toPx(this.lineWidth * 2);
|
|
|
painter.shadow.shadowBlur = 10;
|
|
@@ -161,6 +162,9 @@ export class TipelineItem extends SPolylineItem {
|
|
|
painter.shadow.shadowColor = SColor.Transparent
|
|
|
}
|
|
|
painter.drawPolyline(this.pointList)
|
|
|
+
|
|
|
+ painter.pen.color = new SColor('#ffffff80')
|
|
|
+ painter.drawPolyline(this.pointList)
|
|
|
} else {
|
|
|
super.onDraw(painter)
|
|
|
}
|