@mocanvas/mocanvas · function
declare function hideAllTooltips(): voidDismiss whatever tooltip is on screen.
Needed at the moments a pointer-out never arrives: a menu opening over the button that was hovered, or a shortcut that changes the layout under the pointer. Dispatches the same event the shared layer already listens for, so it works whether or not a provider is mounted.
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.