mirror of
https://github.com/penpot/penpot.git
synced 2026-03-05 09:41:12 +00:00
🐛 Fix alt+P combination while left bar buttons focused
This commit is contained in:
committed by
Alonso Torres
parent
f05f527336
commit
8bf01858bb
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user