From 7ae91e83303580bdd2bd775230eef3d2667b4be2 Mon Sep 17 00:00:00 2001 From: Keavon Chambers Date: Tue, 13 Jul 2021 00:52:45 -0700 Subject: [PATCH] Clean up and polish some code from the previous commit (#255) --- client/web/src/components/panels/Document.vue | 22 +++---- .../components/widgets/inputs/NumberInput.vue | 23 ++++--- client/web/src/response-handler.ts | 12 ++-- client/web/wasm/src/document.rs | 8 +-- core/editor/src/communication/dispatcher.rs | 2 +- core/editor/src/consts.rs | 7 ++- .../src/document/document_message_handler.rs | 63 ++++++++++--------- .../src/frontend/frontend_message_handler.rs | 4 +- core/editor/src/input/input_mapper.rs | 26 ++++---- 9 files changed, 88 insertions(+), 79 deletions(-) diff --git a/client/web/src/components/panels/Document.vue b/client/web/src/components/panels/Document.vue index e3cc36ce3..672fd591e 100644 --- a/client/web/src/components/panels/Document.vue +++ b/client/web/src/components/panels/Document.vue @@ -88,7 +88,7 @@ - + @@ -98,7 +98,7 @@ - + @@ -192,7 +192,7 @@