From 5cc732182e1b2ef28b83a9384de31c58703eeb66 Mon Sep 17 00:00:00 2001 From: CodeDoctorDE Date: Fri, 29 Nov 2024 17:19:06 +0100 Subject: [PATCH] Fix hide duration selection slider --- CHANGELOG.md | 122 +++++++++++++++------------- api/pubspec.lock | 16 ++-- app/lib/selections/tools/laser.dart | 6 +- 3 files changed, 77 insertions(+), 67 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e7ce00a37399..a7e270a38505 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,18 +1,18 @@ # Changelog - - -## 2.2.2 (2024-11-11) - + + +## 2.2.2 (2024-11-11) + * Fix loading screen showing after error * Fix packs dialog file system operations * Downgrade pdfjs on web This is a stable release, it includes all the changes from the 2.2.2 nightly releases. -Read more here: https://linwood.dev/butterfly/2.2.2 - -## 2.2.2-rc.1 (2024-11-04) - +Read more here: https://linwood.dev/butterfly/2.2.2 + +## 2.2.2-rc.1 (2024-11-04) + * Add checksums to release assets ([#753](https://github.com/LinwoodDev/Butterfly/issues/753)) * Add documentation button to collapsed app bar * Move eraser tool to property view @@ -24,10 +24,10 @@ Read more here: https://linwood.dev/butterfly/2.2.2 * Remove cusor visibility on eraser, path eraser and label tool * Remove label tool can be changed tool to allow context menu -Read more here: https://linwood.dev/butterfly/2.2.2-rc.1 - -## 2.2.2-rc.0 (2024-10-28) - +Read more here: https://linwood.dev/butterfly/2.2.2-rc.1 + +## 2.2.2-rc.0 (2024-10-28) + * Add layer merging * Add option to open context menus with right click on desktop or long press on mobile * Add safe area to add dialog @@ -46,15 +46,15 @@ Read more here: https://linwood.dev/butterfly/2.2.2-rc.1 * Upgrade networking stack for collaboration experiment * Update flutter and agp -Read more here: https://linwood.dev/butterfly/2.2.2-rc.0 - -## 2.2.1 (2024-10-17) - +Read more here: https://linwood.dev/butterfly/2.2.2-rc.0 + +## 2.2.1 (2024-10-17) + This is a stable release, it includes all the changes from the 2.2.1 nightly releases. -Read more here: https://linwood.dev/butterfly/2.2.1 - -## 2.2.1-rc.1 (2024-10-14) - +Read more here: https://linwood.dev/butterfly/2.2.1 + +## 2.2.1-rc.1 (2024-10-14) + * Add bit mapping of buttons in pointer test * Add autofocus to add dialog search bar * Add transition when opening add dialog @@ -67,10 +67,10 @@ Read more here: https://linwood.dev/butterfly/2.2.1 * Fix input button mapping not working on multiple button presses ([#748](https://github.com/LinwoodDev/Butterfly/issues/748)) * Fix app link in android -Read more here: https://linwood.dev/butterfly/2.2.1-rc.1 - -## 2.2.1-rc.0 (2024-09-30) - +Read more here: https://linwood.dev/butterfly/2.2.1-rc.1 + +## 2.2.1-rc.0 (2024-09-30) + * Add convert to layer to collection dialog * Readd option to select custom collection * Update button in name dialog to context specific action @@ -89,17 +89,20 @@ Read more here: https://linwood.dev/butterfly/2.2.1-rc.1 * Fix file name only supports latin characters ([#743](https://github.com/LinwoodDev/Butterfly/issues/743)) * Fix selection not updated when elements changed -Read more here: https://linwood.dev/butterfly/2.2.1-rc.0 - -## 2.2.0 (2024-09-28) - +Read more here: https://linwood.dev/butterfly/2.2.1-rc.0 + +## 2.2.0 (2024-09-28) + * Fix importing keeps id This is a stable release, it includes all the changes from the 2.2 nightly release. -Read more here: https://linwood.dev/butterfly/2.2 - -## 2.2.0-rc.3 (2024-09-26) - +Read more here: https://linwood.dev/butterfly/2.2 + +
+ 2.2 Nightly Changelog + +## 2.2.0-rc.3 (2024-09-26) + * Rebuild baking system to support multiple layers * Add convert to layer to collection dialog * Add convert to layer to general area context menu @@ -109,10 +112,10 @@ Read more here: https://linwood.dev/butterfly/2.2 * Fix elements being modifyable in different layers * Fix invisible layers setting being ignored -Read more here: https://linwood.dev/butterfly/2.2.0-rc.2 - -## 2.2.0-rc.1 (2024-09-23) - +Read more here: https://linwood.dev/butterfly/2.2.0-rc.2 + +## 2.2.0-rc.1 (2024-09-23) + * Add icons to position personalization settings * Update baking image rendering * Change default sorting to modified descending @@ -126,10 +129,10 @@ Read more here: https://linwood.dev/butterfly/2.2.0-rc.2 * Fix file not saved in certain cases * Fix add button can be moved in the toolbar -Read more here: https://linwood.dev/butterfly/2.2.0-rc.1 - -## 2.2.0-rc.0 (2024-09-16) - +Read more here: https://linwood.dev/butterfly/2.2.0-rc.1 + +## 2.2.0-rc.0 (2024-09-16) + * Refactor layer tool ([#728](https://github.com/LinwoodDev/Butterfly/issues/728)) * Renamed to collection tool * Changed to action tool @@ -160,10 +163,10 @@ Read more here: https://linwood.dev/butterfly/2.2.0-rc.1 * Update pdfjs on web * Update to flutter 3.24.3 -Read more here: https://linwood.dev/butterfly/2.2.0-rc.0 - -## 2.2.0-beta.3 (2024-09-09) - +Read more here: https://linwood.dev/butterfly/2.2.0-rc.0 + +## 2.2.0-beta.3 (2024-09-09) + * Add full selection mode ([#684](https://github.com/LinwoodDev/Butterfly/issues/684)) * Save utilities states after restart * Ignore invalid files with invalid syntax @@ -174,10 +177,10 @@ Read more here: https://linwood.dev/butterfly/2.2.0-rc.0 * Fix web showing no templates on first start * Fix templates and packs gets overriden on creation with same name -Read more here: https://linwood.dev/butterfly/2.2.0-beta.3 - -## 2.2.0-beta.2 (2024-08-27) - +Read more here: https://linwood.dev/butterfly/2.2.0-beta.3 + +## 2.2.0-beta.2 (2024-08-27) + * Add wasm support for chromium based browsers * Use date for default file name * Fix unnamed files gets duplicated on save @@ -185,10 +188,10 @@ Read more here: https://linwood.dev/butterfly/2.2.0-beta.3 * Update internal component library * Remove FLUTTER_VERSION file, use pubspec instead -Read more here: https://linwood.dev/butterfly/2.2.0-beta.2 - -## 2.2.0-beta.1 (2024-08-05) - +Read more here: https://linwood.dev/butterfly/2.2.0-beta.2 + +## 2.2.0-beta.1 (2024-08-05) + * Add navigator position to position it to the right (useful for left handed users) * Add option to change layer in select and area context menu * Start adding multi file selection ([#713](https://github.com/LinwoodDev/Butterfly/issues/713)) @@ -198,10 +201,10 @@ Read more here: https://linwood.dev/butterfly/2.2.0-beta.2 * Refactor file system to include it as library * Fix pinned properties view gets closed when switching tools -Read more here: https://linwood.dev/butterfly/2.2.0-beta.1 - -## 2.2.0-beta.0 (2024-06-25) - +Read more here: https://linwood.dev/butterfly/2.2.0-beta.1 + +## 2.2.0-beta.0 (2024-06-25) + * Add erase elements property to eraser and patheraser ([#680](https://github.com/LinwoodDev/Butterfly/issues/680)) * Add shape element to normal eraser([#683](https://github.com/LinwoodDev/Butterfly/issues/683)) * Add lock layer ([#688](https://github.com/LinwoodDev/Butterfly/issues/688)) @@ -216,6 +219,8 @@ Read more here: https://linwood.dev/butterfly/2.2.0-beta.1 Read more here: https://linwood.dev/butterfly/2.2.0-beta.0 +
+ ## 2.1.1 (2024-06-10) Nothing changed from the nightly build to the stable release. @@ -282,6 +287,9 @@ Nothing changed from the nightly build to the stable release. See all changes since the last stable here: https://linwood.dev/butterfly/2.1 +
+ 2.1 Nightly Changelog + ## 2.1.0-rc.3 (2024-05-07) * Add button to check for updates instead of automatically checking on opening the settings ([#691](https://github.com/LinwoodDev/Butterfly/issues/691)) @@ -462,6 +470,8 @@ Read more here: https://linwood.dev/butterfly/2.1.0-beta.1 Read more here: https://linwood.dev/butterfly/2.1.0-beta.0 +
+ ## 2.0.3 (2024-02-19) * Fix png export diff --git a/api/pubspec.lock b/api/pubspec.lock index c7a5a1d34649..7c446cc2c14b 100644 --- a/api/pubspec.lock +++ b/api/pubspec.lock @@ -451,10 +451,10 @@ packages: dependency: transitive description: name: shelf_web_socket - sha256: "073c147238594ecd0d193f3456a5fe91c4b0abbcc68bf5cd95b36c4e194ac611" + sha256: cc36c297b52866d203dbf9332263c94becc2fe0ceaa9681d07b6ef9807023b67 url: "https://pub.dev" source: hosted - version: "2.0.0" + version: "2.0.1" source_gen: dependency: transitive description: @@ -547,26 +547,26 @@ packages: dependency: "direct dev" description: name: test - sha256: "713a8789d62f3233c46b4a90b174737b2c04cb6ae4500f2aa8b1be8f03f5e67f" + sha256: f2a018e2baa6fce7c8daa55b8bdf4b3d7d165f82caac269e4cbe5edd666c0e4c url: "https://pub.dev" source: hosted - version: "1.25.8" + version: "1.25.9" test_api: dependency: transitive description: name: test_api - sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" + sha256: fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd url: "https://pub.dev" source: hosted - version: "0.7.3" + version: "0.7.4" test_core: dependency: transitive description: name: test_core - sha256: "12391302411737c176b0b5d6491f466b0dd56d4763e347b6714efbaa74d7953d" + sha256: "60ff490bb383858015df7b7a0d883301a426edf9033989f55f091d91efb9dfaf" url: "https://pub.dev" source: hosted - version: "0.6.5" + version: "0.6.6" timing: dependency: transitive description: diff --git a/app/lib/selections/tools/laser.dart b/app/lib/selections/tools/laser.dart index 3cd26f9b6c6b..d4b4a91b5900 100644 --- a/app/lib/selections/tools/laser.dart +++ b/app/lib/selections/tools/laser.dart @@ -51,9 +51,9 @@ class LaserToolSelection extends ToolSelection { ), ExactSlider( value: selected.first.hideDuration, - min: 1, - max: 20, - defaultValue: 5, + min: 0.1, + max: 2, + defaultValue: 0.5, header: Text(AppLocalizations.of(context).hideDuration), onChangeEnd: (value) => update( context,