mirror of
https://github.com/openziti/zrok.git
synced 2025-06-19 17:27:54 +02:00
visual lint
This commit is contained in:
parent
8bf2173c49
commit
ebcbeeb900
@ -22,7 +22,7 @@ const Network = (props) => {
|
|||||||
|
|
||||||
const paintNode = (node, ctx) => {
|
const paintNode = (node, ctx) => {
|
||||||
let nodeColor = node.selected ? "#9BF316" : "#04adef";
|
let nodeColor = node.selected ? "#9BF316" : "#04adef";
|
||||||
let textColor = node.selected ? "black" : "white";
|
let textColor = "black";
|
||||||
|
|
||||||
ctx.textBaseline = "middle";
|
ctx.textBaseline = "middle";
|
||||||
ctx.textAlign = "center";
|
ctx.textAlign = "center";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user