From ddb334983cc70e18d9aab9d44bad161ff77287d4 Mon Sep 17 00:00:00 2001 From: brausjonas Date: Fri, 7 Jul 2023 12:14:06 +0200 Subject: [PATCH] Update App.js --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index a30761a..5788d7d 100644 --- a/src/App.js +++ b/src/App.js @@ -172,7 +172,7 @@ export default function App() { if (selectedTool !== "text" && selectedTool !== "mover") { hintContext.clearRect(0, 0, 5000, 3000) - } else if(selectedTool === "text") { + } else { textInput.focus() } }