public inbox for yew-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [yew-devel] [PATCH yew-widget-toolkit] touch: material app: change default animation to 'FadeFromRight'
@ 2025-07-02  7:22 Dominik Csapak
  2025-07-03  7:20 ` [yew-devel] applied: " Dietmar Maurer
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2025-07-02  7:22 UTC (permalink / raw)
  To: yew-devel

since that is a very common thing in android/material apps.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
 src/touch/material_app.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/touch/material_app.rs b/src/touch/material_app.rs
index c8185c5..2c72e00 100644
--- a/src/touch/material_app.rs
+++ b/src/touch/material_app.rs
@@ -210,7 +210,7 @@ pub struct MaterialApp {
 
     /// Page animation style used when switching between pages
     #[builder(IntoPropValue, into_prop_value)]
-    #[prop_or_default]
+    #[prop_or(Some(PageAnimationStyle::FadeFromRight))]
     pub page_animation: Option<PageAnimationStyle>,
 }
 
-- 
2.39.5



_______________________________________________
yew-devel mailing list
yew-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [yew-devel] applied: [PATCH yew-widget-toolkit] touch: material app: change default animation to 'FadeFromRight'
  2025-07-02  7:22 [yew-devel] [PATCH yew-widget-toolkit] touch: material app: change default animation to 'FadeFromRight' Dominik Csapak
@ 2025-07-03  7:20 ` Dietmar Maurer
  0 siblings, 0 replies; 2+ messages in thread
From: Dietmar Maurer @ 2025-07-03  7:20 UTC (permalink / raw)
  To: Yew framework devel list at Proxmox, Dominik Csapak

applied


_______________________________________________
yew-devel mailing list
yew-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-03  7:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-02  7:22 [yew-devel] [PATCH yew-widget-toolkit] touch: material app: change default animation to 'FadeFromRight' Dominik Csapak
2025-07-03  7:20 ` [yew-devel] applied: " Dietmar Maurer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal