A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: round off zoom value Signed-off-by: 01zulfi <[email protected]>
01zulfi6d53b78f6a1b
diff --git a/apps/web/src/components/editor/tiptap.tsx b/apps/web/src/components/editor/tiptap.tsxindex d00fb0563..36cb12abb 100644--- a/apps/web/src/components/editor/tiptap.tsx+++ b/apps/web/src/components/editor/tiptap.tsx@@ -460,7 +460,7 @@ function TiptapWrapper(: EDITOR_ZOOM.STEP;const zoom = Math.min(EDITOR_ZOOM.MAX,- Math.max(EDITOR_ZOOM.MIN, editorConfig.zoom + delta)+ Math.max(EDITOR_ZOOM.MIN, Math.round(editorConfig.zoom + delta)));setEditorConfig({ zoom });}