diff options
| author | bobzel <zzzman@gmail.com> | 2022-04-05 13:54:26 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-04-05 13:54:26 -0400 |
| commit | 51d7ce5f71465f2f578a08a998b2df353242ff4d (patch) | |
| tree | bcbcc7d6c9c0319fea0b70b93ba5070307e16d3c /src/client/views/GlobalKeyHandler.ts | |
| parent | ab7948689e384af8779e581708df6fa4225a85a3 (diff) | |
fixes to allow dragging golden layout windows to be aborted with 'esc'. some code cleanup as well to avoid rebuilding golden layout when tabs are closed. Fixes for undo and goldenlayout
Diffstat (limited to 'src/client/views/GlobalKeyHandler.ts')
| -rw-r--r-- | src/client/views/GlobalKeyHandler.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts index 1a4080d81..4a327a842 100644 --- a/src/client/views/GlobalKeyHandler.ts +++ b/src/client/views/GlobalKeyHandler.ts @@ -114,6 +114,7 @@ export class KeyManager { DocumentLinksButton.StartLinkView = undefined; InkStrokeProperties.Instance._controlButton = false; CurrentUserUtils.SelectedTool = InkTool.None; + DragManager.CompleteWindowDrag?.(true); var doDeselect = true; if (SnappingManager.GetIsDragging()) { DragManager.AbortDrag(); |
