mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Use 'text' cursor for text
This commit is contained in:
parent
656cdd1686
commit
131d08389d
1 changed files with 2 additions and 1 deletions
|
@ -1044,7 +1044,8 @@ class App extends React.Component<{}, AppState> {
|
|||
onChange={() => {
|
||||
this.setState({ elementType: value });
|
||||
clearSelection();
|
||||
document.documentElement.style.cursor = "crosshair";
|
||||
document.documentElement.style.cursor =
|
||||
value === "text" ? "text" : "crosshair";
|
||||
this.forceUpdate();
|
||||
}}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue