mirror of
https://github.com/penpot/penpot.git
synced 2025-07-31 21:38:30 +02:00
✨ Remove restriction of duplicate bindings on mousetrap
This commit is contained in:
parent
708a40bff1
commit
17447d7610
1 changed files with 2 additions and 2 deletions
4
frontend/vendor/mousetrap/index.js
vendored
4
frontend/vendor/mousetrap/index.js
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue