Add message "click plane to sketch on" to toolbar after clicking start sketch (#2591)

* Add message to toolbar

"click plane to sketch on"

* Add margin and make the message text smaller

Plus, wrapped it in a div. The spacing and alignment is slightly nicer with the div compared to adding the classes to the List Item element.

---------

Co-authored-by: Frank Noirot <frank@zoo.dev>
This commit is contained in:
Dan Shaw
2024-07-03 23:22:41 -07:00
committed by GitHub
parent 0dfee64e3b
commit 85403e47e4

View File

@ -224,6 +224,11 @@ export function Toolbar({
</ActionButton>
</li>
)}
{state.matches('Sketch no face') && (
<li className="contents">
<div className="mx-2 text-sm">click plane to sketch on</div>
</li>
)}
{state.matches('Sketch') && !state.matches('idle') && (
<>
<li className="contents" key="line-button">