parent
28fe59f8c2
commit
7fea2cfc9c
|
@ -620,10 +620,7 @@
|
||||||
if (!e.shiftKey && !e.ctrlKey && !e.altKey && !e.metaKey) {
|
if (!e.shiftKey && !e.ctrlKey && !e.altKey && !e.metaKey) {
|
||||||
switch (e.which) {
|
switch (e.which) {
|
||||||
case 13:
|
case 13:
|
||||||
setFromInputs({});
|
|
||||||
// fallthrough to 27
|
|
||||||
case 27:
|
case 27:
|
||||||
colorpickerCallback(e.which === 27 ? '' : undefined);
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
hide({notify: false});
|
hide({notify: false});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user