Skip to content
Snippets Groups Projects
Unverified Commit b49dd4bd authored by fsdavid's avatar fsdavid Committed by GitHub
Browse files

simplify the user landmark coloring fix

parent 1000a890
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ export class LandmarkUnit implements OnChanges {
const nColor = color?.currentValue
|| this.color
|| (highlight?.currentValue || this.highlight)
? this.color? this.color : HOVER_COLOR : NORMAL_COLOR
? this.color || HOVER_COLOR : NORMAL_COLOR
this.nodeStyle = {
color: `rgb(${nColor.join(',')})`,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment