aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/GlobalKeyHandler.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-12-16 18:39:00 -0500
committerbobzel <zzzman@gmail.com>2020-12-16 18:39:00 -0500
commitf5527e423c3eaa104bec4904f6c778cf1f58a496 (patch)
treeced336a44d50ae82dd48eed4c4e7e751f4bae873 /src/client/views/GlobalKeyHandler.ts
parent3484b7d92dfedf6319a0047f16bb0ce9cd59a625 (diff)
moved float() to collectionfreeformdocview
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 3311a4dcc..c38842c4f 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.Views()?.[0];
- UndoManager.RunInBatch(() => dv?.float(), "float");
+ UndoManager.RunInBatch(() => dv.props.CollectionFreeFormDocumentView?.().float(), "float");
}
return {