diff options
| author | bobzel <zzzman@gmail.com> | 2022-04-29 17:38:06 -0400 | 
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-04-29 17:38:06 -0400 | 
| commit | 55a5322fffc09bde04ef8b466e19b701bad2762b (patch) | |
| tree | d39e55336405bd4d79bd26b150ba5caf052d6fef /src/client/views/GlobalKeyHandler.ts | |
| parent | a6aec8759298fba41b486a973796662056f47da0 (diff) | |
added 'enter' to toggle iconify.  fixed webBox deiconify to render webpage.   updated colors in minimap to match icon colors.
Diffstat (limited to 'src/client/views/GlobalKeyHandler.ts')
| -rw-r--r-- | src/client/views/GlobalKeyHandler.ts | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts index 6120c4c9e..914802041 100644 --- a/src/client/views/GlobalKeyHandler.ts +++ b/src/client/views/GlobalKeyHandler.ts @@ -139,6 +139,10 @@ export class KeyManager {                  window.getSelection()?.empty();                  document.body.focus();                  break; +            case "enter": { +                DocumentDecorations.Instance.onCloseClick(false); +                break; +            }              case "delete":              case "backspace":                  if (document.activeElement?.tagName !== "INPUT" && document.activeElement?.tagName !== "TEXTAREA") {  | 
