From fc07a499df00e75114d58e0af497c5905fae0d58 Mon Sep 17 00:00:00 2001 From: dominiksta Date: Fri, 30 Aug 2024 17:15:50 +0200 Subject: [PATCH] other: set default mouseBufferSize aka smoothing factor to 2 --- CHANGELOG.md | 5 +++++ README.md | 2 +- src/renderer/persistence/ConfigDTO.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f31691e..7aa967a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,11 @@ Changelog - "Recent Files" menu was not sometimes not showing. (This was an upstream bug (SAP/ui5-webcomponents#7391)). +### Changed + +- The default mouse smoothing factor is now set to 2. This should make the pen + input feel a bit more responsive. + `0.0.7` - _2024-08-16_ ---------------------------------------------------------------------- diff --git a/README.md b/README.md index b769595..944b786 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ quite a bit when that happens. - [x] Exporting to PDF with [pdf-lib](https://pdf-lib.js.org/) - [x] Table of Contents - [x] Auto Import From PDF - - [ ] Tabs + - [x] Tabs - [ ] Tablet (and Phone) Friendly UI - [ ] Android Version with Cordova or Capacitor - [x] Stack Trace & Bug Report Dialog diff --git a/src/renderer/persistence/ConfigDTO.ts b/src/renderer/persistence/ConfigDTO.ts index 6c06549..c9614d3 100644 --- a/src/renderer/persistence/ConfigDTO.ts +++ b/src/renderer/persistence/ConfigDTO.ts @@ -291,7 +291,7 @@ export function defaultConfig(): ConfigDTO { CanvasToolPen: { color: "#000000", strokeWidth: "medium", - mouseBufferSize: 4, + mouseBufferSize: 2, }, CanvasToolEraser: { strokeWidth: "medium",