mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-25 10:08:36 +02:00
refactor(calculator): change hotkey to Alt+C to prevent conflicts with input
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user