From 0359508b919e6e759cea8bab57a59b40e4c99c90 Mon Sep 17 00:00:00 2001 From: mhvejs <64986110+mhvejs@users.noreply.github.com> Date: Thu, 5 Sep 2024 17:13:33 +0200 Subject: [PATCH] Update text_modal.js (#45) Added suggestion from #bugs in Discord --- native/js/text_modal.js | 1 + 1 file changed, 1 insertion(+) diff --git a/native/js/text_modal.js b/native/js/text_modal.js index d1e06ba..0055b06 100644 --- a/native/js/text_modal.js +++ b/native/js/text_modal.js @@ -59,6 +59,7 @@ textArea.style.border = "2px solid #666"; // Add a default border color textArea.style.borderRadius = "4px"; // Rounded corners textArea.style.resize = "none"; // Prevent resizing textArea.style.boxShadow = "0 0 5px rgba(255, 255, 255, 0.3)"; // Subtle shadow for unfocused state +textArea.onclick = "this.select()"; // Mark everything on click for easy save text copy // Add hover effect for the textarea textArea.addEventListener('mouseover', function() {