mirror of
https://github.com/penpot/penpot.git
synced 2026-10-25 07:08:45 -04:00
✨ Remove restriction of duplicate bindings on mousetrap
This commit is contained in:
1 parent
708a40bff1
commit
17447d7610
1 file changed
+2
-2
Vendored
+2
-2
@@ -845,8 +845,8 @@ function Mousetrap(targetElement) {
|
||||
// a callback is added for this key
|
||||
self._callbacks[info.key] = self._callbacks[info.key] || [];
|
||||
|
||||
// remove an existing match if there is one
|
||||
_getMatches(info.key, info.modifiers, {type: info.action}, sequenceName, combination, level);
|
||||
// // remove an existing match if there is one
|
||||
// _getMatches(info.key, info.modifiers, {type: info.action}, sequenceName, combination, level);
|
||||
|
||||
// add this call back to the array
|
||||
// if it is a sequence put it at the beginning
|
||||
|
||||
Reference in new issue
Block a user