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:
@ -224,6 +224,11 @@ export function Toolbar({
|
|||||||
</ActionButton>
|
</ActionButton>
|
||||||
</li>
|
</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') && (
|
{state.matches('Sketch') && !state.matches('idle') && (
|
||||||
<>
|
<>
|
||||||
<li className="contents" key="line-button">
|
<li className="contents" key="line-button">
|
||||||
|
Reference in New Issue
Block a user