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: only reset size of doubled clicked pane
Abdullah Attaaeebc9878db7
diff --git a/apps/web/src/components/split-pane/index.tsx b/apps/web/src/components/split-pane/index.tsxindex b40dbb270..86caf3902 100644--- a/apps/web/src/components/split-pane/index.tsx+++ b/apps/web/src/components/split-pane/index.tsx@@ -317,7 +317,11 @@ export const SplitPane = React.forwardRef<onDragging={(e) => onDragging(e, index)}onDragEnd={dragEnd}onDoubleClick={() => {- setSizes(initialSizes, wrapSize.current);+ sizes.current[index] = assertsSize(+ initialSizes[index],+ wrapSize.current+ );+ setSizes(sizes.current, wrapSize.current);}}/>))}