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: reduce zoom factor step to 0.1
Abdullah Atta675d517cbc53
diff --git a/apps/web/src/dialogs/settings/appearance-settings.ts b/apps/web/src/dialogs/settings/appearance-settings.tsindex 5c1f458a0..cb71516f6 100644--- a/apps/web/src/dialogs/settings/appearance-settings.ts+++ b/apps/web/src/dialogs/settings/appearance-settings.ts@@ -44,7 +44,8 @@ export const AppearanceSettings: SettingsGroup[] = [type: "input",inputType: "number",min: 0.5,- max: 2.0,+ max: 3.0,+ step: 0.1,defaultValue: () => useSettingStore.getState().zoomFactor,onChange: (value) => useSettingStore.getState().setZoomFactor(value)}diff --git a/apps/web/src/dialogs/settings/index.tsx b/apps/web/src/dialogs/settings/index.tsxindex 4e6d94796..4285a174d 100644--- a/apps/web/src/dialogs/settings/index.tsx+++ b/apps/web/src/dialogs/settings/index.tsx@@ -508,6 +508,7 @@ function SettingItem(props: { item: Setting }) {type={"number"}min={component.min}max={component.max}+ step={component.step}defaultValue={component.defaultValue()}sx={{ width: 80, mr: 1 }}onChange={debounce((e) => {diff --git a/apps/web/src/dialogs/settings/types.ts b/apps/web/src/dialogs/settings/types.tsindex 5531c9916..ed14740b4 100644--- a/apps/web/src/dialogs/settings/types.ts+++ b/apps/web/src/dialogs/settings/types.ts@@ -134,6 +134,7 @@ export type NumberInputSettingComponent = BaseSettingComponent<"input"> & {inputType: "number";min: number;max: number;+ step?: number;defaultValue: () => number;onChange: (value: number) => void;};