diff --git a/src/index.tsx b/src/index.tsx index d2b6071e..37b67dc3 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -378,8 +378,7 @@ export class App extends React.Component { this.state.draggingElement === null ) { if (!isHoldingSpace) { - document.documentElement.style.cursor = - shape === "text" ? CURSOR_TYPE.TEXT : CURSOR_TYPE.CROSSHAIR; + setCursorForShape(shape); } elements = clearSelection(elements); this.setState({ elementType: shape });