aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/GlobalKeyHandler.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-12-14 20:49:31 -0500
committerbobzel <zzzman@gmail.com>2020-12-14 20:49:31 -0500
commit83f4a468cb2b97908771d3f7e26e9ca283df4230 (patch)
tree03e0972e52526b38966395959b7ff06dc6a9e3ba /src/client/views/GlobalKeyHandler.ts
parent5f999d6fa4dcc8a8994a4c97f7ce6e0d66d67411 (diff)
minor cleanup
Diffstat (limited to 'src/client/views/GlobalKeyHandler.ts')
-rw-r--r--src/client/views/GlobalKeyHandler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts
index a727e58a4..a391bb550 100644
--- a/src/client/views/GlobalKeyHandler.ts
+++ b/src/client/views/GlobalKeyHandler.ts
@@ -180,7 +180,7 @@ export class KeyManager {
case "ƒ":
case "f":
const dv = SelectionManager.SelectedDocuments()?.[0];
- dv && DocumentView.FloatDoc(dv);
+ UndoManager.RunInBatch(() => dv?.float(), "float");
}
return {