origo
origo copied to clipboard
feature: add configurable highlight to measure line for visibility
Seeks to fix #2023
It introduces a highlight to the measure line in order to increase its visibility on various backgrounds, by default a light blue highlight (it was an idea pitched in a meeting some time ago and it is a shorter route than adapting measure to employ the stylewindow that draw uses)
Configurable via a new prop for the measure control:
{
"name": "measure",
"options": {
"hideWhenEmbedded": true,
"showSegmentLengths": true,
"highlightColor": "rgba(230, 126, 34, 0.7)"
}
},