diff --git a/src/components/ConcernementMapItem.vue b/src/components/ConcernementMapItem.vue index c929ade..4f2e4df 100644 --- a/src/components/ConcernementMapItem.vue +++ b/src/components/ConcernementMapItem.vue @@ -660,8 +660,8 @@ export default { return new paper.Segment({ point: pa, - // handleIn: hai, - // handleOut: hao + handleIn: hai, + handleOut: hao }) } const first_point = getPaddedRoundedSegments( @@ -691,10 +691,10 @@ export default { const contrs = new paper.Path({ name: 'contours', segments: segments, - fillColor: 'rgba(255,255,255,0.8)', + fillColor: 'rgba(255,255,255,0.4)', // selected: true, - // strokeColor: '#000', - // strokeWidth: 1, + strokeColor: '#fff', + strokeWidth: 1, pivot: new paper.Point(this.pos), cid: this.id }); @@ -1838,15 +1838,15 @@ export default { handlePaperVisibility(){ // contours focused if (!this.isFocused()){ - this.paper_objects.children['contours'].fillColor = "rgba(255,255,255,0.3)"; + this.paper_objects.children['contours'].fillColor = "rgba(255,255,255,0.1)"; }else{ - this.paper_objects.children['contours'].fillColor = "rgba(255,255,255,0.8)"; + this.paper_objects.children['contours'].fillColor = "rgba(255,255,255,0.4)"; if (this.is_hover) { this.paper_objects.children['contours'].strokeColor = "#01ffe2"; this.paper_objects.children['contours'].strokeWidth = 2; }else{ - this.paper_objects.children['contours'].strokeColor = null; - this.paper_objects.children['contours'].strokeWidth = 0; + this.paper_objects.children['contours'].strokeColor = "#fff"; + this.paper_objects.children['contours'].strokeWidth = 1; } }