Make the rectangle tool something you can hide things with

Featurekamo-internal
Shipped
September 2, 2026 at 5:41 PM UTC
Author
Kamo
Commit
850ad03

The rectangle tool has been in the annotation toolbar all along, but it drew an outline: fill="none" in every renderer. There was nothing to hide anything with, no opacity, and no way to touch a shape again once it was drawn — annotation selection was unreachable code, because the layer only took pointer events while a drawing tool was active and the click handler only ran while the select tool was. So a rectangle now has a fill, an opacity, a border that can be nothing, and a switch that says the text underneath is to be removed rather than covered (the backend does that part). It arrives as a solid black block, because covering something up is what people reach for it to do; the outline every rectangle saved before this still has is what no fillColor means, so none of them change. Drawing it is either gesture: drag it out, or click once to anchor it and again to finish — a press that goes nowhere used to be discarded as too small to keep, which is exactly the gesture that now starts one. Escape abandons it. Once drawn it is selected, with eight handles and a draggable body, using the same clamping and page-space mapping as a field's corner handles so the two feel alike. And because a selected annotation had nowhere to go, an empty properties panel used to slide up; it now has one, with the same controls after the fact. Two-point tools all take the second gesture, not just the rectangle, and highlights get the handles too — they are the same box underneath.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing