diff --git a/app/lib/actions/search.dart b/app/lib/actions/search.dart index cf295dce9703..81d390484f50 100644 --- a/app/lib/actions/search.dart +++ b/app/lib/actions/search.dart @@ -32,7 +32,7 @@ class SearchAction extends Action { position: Tween( begin: const Offset(0, -0.5), end: Offset.zero, - ).animate(animation), + ).chain(CurveTween(curve: Curves.easeOutQuart)).animate(animation), child: child, ); }, diff --git a/app/lib/actions/settings.dart b/app/lib/actions/settings.dart index ea72b02ecb01..a3416a9096e5 100644 --- a/app/lib/actions/settings.dart +++ b/app/lib/actions/settings.dart @@ -32,14 +32,14 @@ Future openSettings(BuildContext context) => showGeneralDialog( ), barrierDismissible: true, barrierLabel: MaterialLocalizations.of(context).modalBarrierDismissLabel, - transitionDuration: const Duration(milliseconds: 100), + transitionDuration: const Duration(milliseconds: 200), transitionBuilder: (context, animation, secondaryAnimation, child) { // Animate the dialog from bottom to center return SlideTransition( position: Tween( begin: const Offset(0, 1), end: Offset.zero, - ).animate(animation), + ).chain(CurveTween(curve: Curves.easeOutQuart)).animate(animation), child: child, ); }, diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index d168c208bed7..ffe3099b017b 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -7,7 +7,6 @@ import remarkGemoji from "remark-gemoji"; // https://astro.build/config export default defineConfig({ - outDir: "./build", site: "https://butterfly.linwood.dev", markdown: { remarkPlugins: [remarkHeadingID, remarkGemoji], diff --git a/metadata/en-US/changelogs/118.txt b/metadata/en-US/changelogs/118.txt index 4a8afbd5ed6d..368eb05b0b8a 100644 --- a/metadata/en-US/changelogs/118.txt +++ b/metadata/en-US/changelogs/118.txt @@ -2,6 +2,7 @@ * Add autofocus to add dialog search bar * Add transition when opening add dialog * Add size transition to toolbar +* Improve search and settings dialog transition * Change color toolbar to not have the full width * Fix pasting with label tool replaces text instead of appending * Fix unstable sort algorithm if layer is the same