origo icon indicating copy to clipboard operation
origo copied to clipboard

feature: add configurable highlight to measure line for visibility

Open Grammostola opened this issue 6 months ago • 1 comments

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)"
      }
    },

image

Grammostola avatar Jul 31 '24 06:07 Grammostola