Update App.js
This commit is contained in:
+1
-1
@@ -172,7 +172,7 @@ export default function App() {
|
|||||||
|
|
||||||
if (selectedTool !== "text" && selectedTool !== "mover") {
|
if (selectedTool !== "text" && selectedTool !== "mover") {
|
||||||
hintContext.clearRect(0, 0, 5000, 3000)
|
hintContext.clearRect(0, 0, 5000, 3000)
|
||||||
} else if(selectedTool === "text") {
|
} else {
|
||||||
textInput.focus()
|
textInput.focus()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user