fn same_tool(entry: Tool, cur: Tool) -> bool
The Mask button lights up for every mask shape (the combo beside it picks one); everything else is an exact match.