Virtual whiteboard for sketching hand-drawn like diagrams
Fix wrong cursor for selection keyboard shortcut (#645)
Christopher Chedeau29f1465b810e
diff --git a/src/index.tsx b/src/index.tsxindex d2b6071e00..37b67dc3a0 100644--- a/src/index.tsx+++ b/src/index.tsx@@ -378,8 +378,7 @@ export class App extends React.Component<any, AppState> {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 });