0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-13 16:21:57 -05:00

🐛 Fix alt+P combination while left bar buttons focused

This commit is contained in:
Alejandro Alonso 2023-03-29 13:53:54 +02:00 committed by Alonso Torres
parent f05f527336
commit 8bf01858bb

View file

@ -20,7 +20,7 @@ target.stopCallback = function(e, element, combo) {
return element.tagName == 'INPUT' ||
element.tagName == 'SELECT' ||
element.tagName == 'TEXTAREA' ||
element.tagName == 'BUTTON' ||
(element.tagName == 'BUTTON' && combo.includes("tab")) ||
(element.contentEditable && element.contentEditable == 'true');
}