refactor(calculator): change hotkey to Alt+C to prevent conflicts with input

This commit is contained in:
Herculino Trotta
2024-12-25 20:58:50 -03:00
parent a68ba671d4
commit 728933ba89

View File

@@ -12,7 +12,7 @@
on focusin halt the event end -- this prevents bootstrap's static offcanvas from hijacking the focus from the input when open end
on show or keyup[code is 'KeyC' and shiftKey is true and target.nodeName is 'BODY'] from body
on show or keyup[code is 'KeyC' and altKey is true] from body
if my.classList.contains('tw-hidden')
remove .tw-hidden from me
measure my width, height