@mocanvas/editor · type

TLIndicatorContext

type TLIndicatorContext = "selected" | "hovered" | "hinting"

Why a shape is showing an indicator. The context picks the stroke weight: hinting is heavier so a drop target reads as "it will land here" rather than "it is selected".

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.