From fa1a6c09c346c8fab755dbfa7eb10561436541f4 Mon Sep 17 00:00:00 2001 From: CodeDoctorDE Date: Tue, 7 Jan 2025 11:00:58 +0100 Subject: [PATCH] Add changelog for cherry pick release, closes #777 --- api/pubspec.yaml | 2 +- app/lib/actions/svg_export.dart | 2 +- app/lib/models/viewport.dart | 1 + app/pubspec.lock | 8 ++++---- app/pubspec.yaml | 2 +- metadata/en-US/changelogs/128.txt | 10 ++++++++++ 6 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 metadata/en-US/changelogs/128.txt diff --git a/api/pubspec.yaml b/api/pubspec.yaml index dc3e904eb3c7..2715e84d32e7 100644 --- a/api/pubspec.yaml +++ b/api/pubspec.yaml @@ -19,7 +19,7 @@ dependencies: git: url: https://github.com/LinwoodDev/dart_pkgs path: packages/lw_file_system_api - ref: b9d6c6173bf75247ce5a4d47fab0e48b730a9696 + ref: 5ab1b96bea6ef0e0c07629ff4e7152b4437cf8ee dev_dependencies: test: ^1.25.3 diff --git a/app/lib/actions/svg_export.dart b/app/lib/actions/svg_export.dart index e3c8401fe6e9..b0fa27e36ca1 100644 --- a/app/lib/actions/svg_export.dart +++ b/app/lib/actions/svg_export.dart @@ -22,7 +22,7 @@ class SvgExportAction extends Action { builder: (context) => BlocProvider.value( value: bloc, child: GeneralExportDialog( - preset: ExportTransformPreset.page, + preset: ExportTransformPreset.view, options: getDefaultSvgExportOptions( context, transform: transform, diff --git a/app/lib/models/viewport.dart b/app/lib/models/viewport.dart index 4d111075b134..a8a345975d01 100644 --- a/app/lib/models/viewport.dart +++ b/app/lib/models/viewport.dart @@ -188,6 +188,7 @@ class CameraViewport extends Equatable { visibleElements: visibleElements, aboveLayerImage: aboveLayerImage, belowLayerImage: belowLayerImage, + resolution: resolution, ); CameraViewport withUtilities(UtilitiesRenderer utilities) => diff --git a/app/pubspec.lock b/app/pubspec.lock index 1bc7bd5fa724..1e152dec0e85 100644 --- a/app/pubspec.lock +++ b/app/pubspec.lock @@ -782,8 +782,8 @@ packages: dependency: "direct main" description: path: "packages/lw_file_system" - ref: f29b1ae0e338ec155e1c5b0a204c399232904540 - resolved-ref: f29b1ae0e338ec155e1c5b0a204c399232904540 + ref: "54f7ac141410938babff9539dca190f5d130a0db" + resolved-ref: "54f7ac141410938babff9539dca190f5d130a0db" url: "https://github.com/LinwoodDev/dart_pkgs" source: git version: "1.0.0" @@ -791,8 +791,8 @@ packages: dependency: transitive description: path: "packages/lw_file_system_api" - ref: b9d6c6173bf75247ce5a4d47fab0e48b730a9696 - resolved-ref: b9d6c6173bf75247ce5a4d47fab0e48b730a9696 + ref: "5ab1b96bea6ef0e0c07629ff4e7152b4437cf8ee" + resolved-ref: "5ab1b96bea6ef0e0c07629ff4e7152b4437cf8ee" url: "https://github.com/LinwoodDev/dart_pkgs" source: git version: "1.0.0" diff --git a/app/pubspec.yaml b/app/pubspec.yaml index e3dcfb6e1f6c..9fa4ff4d6cd6 100644 --- a/app/pubspec.yaml +++ b/app/pubspec.yaml @@ -99,7 +99,7 @@ dependencies: lw_file_system: git: url: https://github.com/LinwoodDev/dart_pkgs - ref: f29b1ae0e338ec155e1c5b0a204c399232904540 + ref: 54f7ac141410938babff9539dca190f5d130a0db path: packages/lw_file_system flutter_localized_locales: ^2.0.5 dynamic_color: ^1.7.0 diff --git a/metadata/en-US/changelogs/128.txt b/metadata/en-US/changelogs/128.txt new file mode 100644 index 000000000000..a73574888b57 --- /dev/null +++ b/metadata/en-US/changelogs/128.txt @@ -0,0 +1,10 @@ +This is a hotfix update, cherry picking some important fixes from the last 2.3.0-beta.0 nightly release. + +* Fix default stroke width ([#779](https://github.com/LinwoodDev/Butterfly/issues/779)) +* Fix svg export shows wrong initial preset +* Fix capture thumbnail uses wrong position +* Fix zoom slider is not centered +* Fix shape detection list tile not clickable +* Fix corrupting files when saving ([#777](https://github.com/LinwoodDev/Butterfly/issues/777)) + +Read more here: https://linwood.dev/butterfly/2.2.4 \ No newline at end of file