change the pipeline selection highlight as requested in JENKINS-50408 (#1732)
This commit is contained in:
parent
a7368615ac
commit
7a4a8abbc2
|
@ -296,7 +296,7 @@
|
|||
.pipeline-selection-highlight circle {
|
||||
fill: none; //@brand-selection;
|
||||
//stroke: @brand-selection;
|
||||
stroke: @brand-grey-lite;
|
||||
stroke: @brand-primary;
|
||||
}
|
||||
|
||||
//--[ /PipelineGraph ]-----------------------------------------------------------
|
||||
|
|
|
@ -541,7 +541,7 @@ export class PipelineGraph extends Component {
|
|||
*/
|
||||
renderSelectionHighlight(elements: SVGChildren) {
|
||||
const { nodeRadius, connectorStrokeWidth } = this.state.layout;
|
||||
const highlightRadius = nodeRadius + 0.49 * connectorStrokeWidth;
|
||||
const highlightRadius = nodeRadius + 0.49 * connectorStrokeWidth + 1;
|
||||
let selectedNode = null;
|
||||
|
||||
columnLoop: for (const column of this.state.nodeColumns) {
|
||||
|
@ -560,7 +560,7 @@ export class PipelineGraph extends Component {
|
|||
|
||||
elements.push(
|
||||
<g className="pipeline-selection-highlight" transform={transform} key="selection-highlight">
|
||||
<circle r={highlightRadius} strokeWidth={connectorStrokeWidth * 1.1} />
|
||||
<circle r={highlightRadius} strokeWidth={2} />
|
||||
</g>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue